function opigno_calendar_event_entity_field_storage_info in Opigno calendar event 3.x
Same name and namespace in other branches
- 8 opigno_calendar_event.module \opigno_calendar_event_entity_field_storage_info()
Implements hook_entity_field_storage_info().
File
- ./
opigno_calendar_event.module, line 35 - Main file for the "Calendar event" module.
Code
function opigno_calendar_event_entity_field_storage_info(EntityTypeInterface $entity_type) {
return $entity_type
->id() === CalendarEvent::ENTITY_TYPE_ID ? CalendarEvent::storageFieldDefinitions($entity_type) : [];
}