You are here

protected function EntityExtraFieldListBuilder::getBaseEntityTypeId in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/EntityExtraFieldListBuilder.php \Drupal\entity_extra_field\Controller\EntityExtraFieldListBuilder::getBaseEntityTypeId()

Get base entity type identifier.

Return value

string|NULL The base entity type identifier.

2 calls to EntityExtraFieldListBuilder::getBaseEntityTypeId()
EntityExtraFieldListBuilder::getBaseEntityBundleType in src/Controller/EntityExtraFieldListBuilder.php
Get base entity bundle type.
EntityExtraFieldListBuilder::getEntityIds in src/Controller/EntityExtraFieldListBuilder.php
Loads entity IDs using a pager sorted by the entity id.

File

src/Controller/EntityExtraFieldListBuilder.php, line 117

Class

EntityExtraFieldListBuilder
Define entity extra field list builder.

Namespace

Drupal\entity_extra_field\Controller

Code

protected function getBaseEntityTypeId() {
  return $this->currentRouteMatch
    ->getParameter('entity_type_id');
}