You are here

public function ParseCdfEntityEvent::hasEntity in Acquia Content Hub 8.2

Whether an entity has been set or not.

Return value

bool TRUE if has entity; FALSE otherwise.

File

src/Event/ParseCdfEntityEvent.php, line 104

Class

ParseCdfEntityEvent
The event fired during importing a CDF into a local entity.

Namespace

Drupal\acquia_contenthub\Event

Code

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