You are here

protected function TermParentCdfAttribute::getEntityTypeManager in Acquia Content Hub 8.2

Gets the Entity Type Manager Service.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface The EntityTypeManager.

File

src/EventSubscriber/CdfAttributes/TermParentCdfAttribute.php, line 75

Class

TermParentCdfAttribute
Creates the term parent cdf attribute.

Namespace

Drupal\acquia_contenthub\EventSubscriber\CdfAttributes

Code

protected function getEntityTypeManager() {
  return \Drupal::entityTypeManager();
}