You are here

protected function TermParentCdfAttribute::getStorage in Acquia Content Hub 8.2

Gets the Taxonomy Term Storage.

File

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

Class

TermParentCdfAttribute
Creates the term parent cdf attribute.

Namespace

Drupal\acquia_contenthub\EventSubscriber\CdfAttributes

Code

protected function getStorage() {
  return $this
    ->getEntityTypeManager()
    ->getStorage('taxonomy_term');
}