You are here

public function ContentHubEntityDependency::getEntityType in Acquia Content Hub 8

Returns the Content Hub Entity Type.

Return value

bool|string The Entity Type or FALSE.

3 calls to ContentHubEntityDependency::getEntityType()
ContentHubEntityDependency::getExcludedAttributesFromDependencies in src/ContentHubEntityDependency.php
Excludes attributes from providing dependency information.
ContentHubEntityDependency::setAuthor in src/ContentHubEntityDependency.php
Sets the author for the current node entity, if $author is given.
ContentHubEntityDependency::setStatus in src/ContentHubEntityDependency.php
Sets the status flag for a node entity, if given.

File

src/ContentHubEntityDependency.php, line 221

Class

ContentHubEntityDependency
Content Hub Dependency Class.

Namespace

Drupal\acquia_contenthub

Code

public function getEntityType() {
  return !empty($this->cdf) ? $this->cdf
    ->getType() : FALSE;
}