You are here

private function NavigationalStructureTest::getEntityStorageHandler in Entity Construction Kit (ECK) 8

Retrieves the entity storage handler.

Return value

\Drupal\Core\Entity\EntityStorageInterface The entity storage handler.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

tests/src/Functional/NavigationalStructureTest.php, line 100

Class

NavigationalStructureTest
Test Entity Construction Kit's navigational structure.

Namespace

Drupal\Tests\eck\Functional

Code

private function getEntityStorageHandler() {
  return \Drupal::entityTypeManager()
    ->getStorage($this->entityTypeMachineName);
}