function modal_page_entity_presave in Modal 4.0.x
Same name and namespace in other branches
- 4.1.x modal_page.module \modal_page_entity_presave()
Implements hook_entity_presave().
File
- ./
modal_page.module, line 182 - Main file for the Modal Page.
Code
function modal_page_entity_presave(EntityInterface $entity) {
\Drupal::service('modal_page.helper')
->entityPresave($entity);
}