You are here

protected function Check::entityTypeManager in Security Review 8

Returns the entity type manager.

Return value

\Drupal\Core\Entity\EntityTypeManagerInterface Entity type manager.

File

src/Check.php, line 498

Class

Check
Defines a security check.

Namespace

Drupal\security_review

Code

protected function entityTypeManager() {
  return $this->container
    ->get('entity_type.manager');
}