You are here

public function ExportEvent::getExportedEntity in Default Content for D8 2.0.x

Same name and namespace in other branches
  1. 8 src/Event/ExportEvent.php \Drupal\default_content\Event\ExportEvent::getExportedEntity()

Get the entity we've exported.

Return value

\Drupal\Core\Entity\ContentEntityInterface The exported content entity.

File

src/Event/ExportEvent.php, line 38

Class

ExportEvent
Defines event fired when content is exported.

Namespace

Drupal\default_content\Event

Code

public function getExportedEntity() {
  return $this->entity;
}