function PreExportEvent::getCallbacks

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/DefaultContent/PreExportEvent.php \Drupal\Core\DefaultContent\PreExportEvent::getCallbacks()

Returns the field export callbacks collected by this event.

Return value

callable[] The export callbacks, keyed by field type.

File

core/lib/Drupal/Core/DefaultContent/PreExportEvent.php, line 114

Class

PreExportEvent
Event dispatched before an entity is exported as default content.

Namespace

Drupal\Core\DefaultContent

Code

public function getCallbacks() : array {
  return $this->callbacks;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.