You are here

protected function EntityExtraField::getBaseRouteName in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::getBaseRouteName()

Get base entity route name.

Return value

string The base entity route.

1 call to EntityExtraField::getBaseRouteName()
EntityExtraField::toUrl in src/Entity/EntityExtraField.php
Gets the URL object for the entity.

File

src/Entity/EntityExtraField.php, line 583

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

protected function getBaseRouteName() : string {
  return "entity.{$this->getBaseEntityTypeId()}.extra_fields";
}