<?php

///////////////////////////////////////////////////////////////////////////////////////////////////
// Define each field of the current Entity - for each field you can set the following keys: ///////
// 'mandatory', 'invisible' and 'validation'. Use the '_special' field key code to allow adding ///
// extra validations that are not checked automatically. //////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////


// category
$CFG['globalEntity']['::TaskCategory']['category']['mandatory'] = true;
$CFG['globalEntity']['::TaskCategory']['category']['invisible'] = false;
$CFG['globalEntity']['::TaskCategory']['category']['validation']= ['maxLength'=>100];

// description
$CFG['globalEntity']['::TaskCategory']['description']['mandatory'] = false;
$CFG['globalEntity']['::TaskCategory']['description']['invisible'] = false;
$CFG['globalEntity']['::TaskCategory']['description']['validation']= [];

