This topic contains 1 reply, has 1 voice, and was last updated by zhex900 6 years, 9 months ago.
- Topic
Hi,
I have created an CalendarEventTypeExtension. Both CalendarEvent and System Calendar Event use it. I want to differentiate CalendarEvent and System Calendar Event in CalendarEventTypeExtension. Is there a way to do it?
This is what I want to do.
public function buildForm(FormBuilderInterface $builder, array $options)
{
if (SystemCalendar){
$builder->add(‘field 1’)
}else{
$builder->add(‘field 2’)
}
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.