function PreExportEvent::__construct

File

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

Class

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

Namespace

Drupal\Core\DefaultContent

Code

public function __construct(public readonly ContentEntityInterface $entity) {
}

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