EntityTypeEvents::UPDATE

constant EntityTypeEvents::UPDATE

The name of the event triggered when an existing entity type is updated.

This event allows modules to react whenever an existing entity type is updated. The event listener method receives a \Drupal\Core\Entity\EntityTypeEvent instance.

See also

\Drupal\Core\Entity\EntityTypeEvent

\Drupal\Core\Entity\EntityManager::onEntityTypeUpdate()

\Drupal\Core\Entity\EntityTypeEventSubscriberTrait

\Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::onEntityTypeUpdate()

Related topics

Events
Overview of event dispatch and subscribing

File

core/lib/Drupal/Core/Entity/EntityTypeEvents.php, line 44

Class

EntityTypeEvents
Contains all events thrown while handling entity types.

Namespace

Drupal\Core\Entity

Code

const UPDATE = 'entity_type.definition.update';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeEvents.php/constant/EntityTypeEvents::UPDATE/8.1.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部