You are here

protected function EntityExtraField::getBaseRouteName in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x 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 475

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

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