'Event', 'itemsName' => 'Events', 'hasLock' => true, 'resourceName' => 'Event', 'messages' => [ 'deleteConfirmation' => 'If you delete this Event, it will lose any attendees or event feedback submissions attached to it. Please confirm you would like to delete the Event.', ], 'durationTypeOptions' => [ EventEntity::DURATION_TYPE_SINGLE_DAY => 'Single Day', EventEntity::DURATION_TYPE_MULTIPLE_DAYS => 'Multiple Days', ], 'urlDescription' => 'Example: https://maps.google.com/maps?q=adaptainc&hl=en&sll=44.983334,-93.26667&z=12&iwloc=A', 'defaults' => [ 'enabled' => 'y', 'type' => EventEntity::TYPE_REGISTRATION, 'startDate' => date('Y-m-d', strtotime('+1 day')), 'durationType' => EventEntity::DURATION_TYPE_SINGLE_DAY, 'timeRanges' => [[]], ], 'image' => ['width' => 305, 'height' => 165, 'resizeMethodAlias' => 'cc'], 'periods' => [ Obj::PERIOD_UPCOMING => 'Upcoming Events', ], 'dynamicFormRelations' => [ [ 'element' => 'type', 'node' => '[name="type"]:checked', 'group' => '[name="type"]', 'event' => 'change', 'rules' => [ [ 'value' => EventEntity::TYPE_REGISTRATION, '_elements' => [ 'durationType', 'registrationDateTimeRange', 'registrationStartDate', 'registrationStartTime', 'registrationEndDate', 'registrationEndTime', 'pricing', 'memberPrice', 'nonmemberPrice', 'registrationLimit', ], ], [ 'value' => EventEntity::TYPE_COMMITTEE, '_elements' => [ 'committeeId', ], ], ], ], [ 'element' => 'durationType', 'node' => '[name="durationType"]:checked', 'group' => '[name="durationType"]', 'event' => 'change', 'rules' => [ [ 'value' => EventEntity::DURATION_TYPE_MULTIPLE_DAYS, '_elements' => [ 'endDate', ], ], ], ], ], ];