Follow-up to #2415505: Add @Event documentation to all ConfigEvents

This issue is for adding the @Event tag and appropriate documentation to the following list of events.

$this->eventDispatcher->dispatch(EntityTypeEvents::CREATE, new EntityTypeEvent($entity_type));
$this->eventDispatcher->dispatch(EntityTypeEvents::DELETE, new EntityTypeEvent($entity_type));
$this->eventDispatcher->dispatch(EntityTypeEvents::UPDATE, new EntityTypeEvent($entity_type, $original));

This documentation should include the following information:

- What the event is
- What it is used for
- What kind of $event object is passed along.
- @see links to related classes (event class, representative class where event is dispatched, representative class where event is subscribed to).

See the parent issue for a documentation template, and more information: #2382169: [meta] Add @Event to all events defined by drupal core

Beta eval: Unfrozen API documentation change.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eojthebrave’s picture

Status: Active » Needs review
Issue tags: +LatinAmerica2015, +Novice
FileSize
2.62 KB

Here's a first pass at the documentation for these events.

jhodgdon’s picture

Issue summary: View changes

Looks good to me, thanks!

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

  • webchick committed c6036a5 on 8.0.x
    Issue #2425379 by eojthebrave: Add @Event documentation to all...
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.0.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.