. * --------------------------------------------------------------------- */ if (!defined('GLPI_ROOT')) { die("Sorry. You can't access this file directly"); } class PlanningEventCategory extends CommonDropdown { static function getTypeName($nb = 0) { return _n('Event category', 'Event categories', $nb); } function getAdditionalFields() { return [ [ 'name' => 'color', 'label' => __('Color'), 'type' => 'color', ] ]; } }