You are here

public function NameFormat::uri in Name Field 8

File

src/Entity/NameFormat.php, line 86

Class

NameFormat
Defines the Name Format configuration entity class.

Namespace

Drupal\name\Entity

Code

public function uri() {
  return [
    'path' => 'admin/config/regional/name/manage/' . $this
      ->id(),
    'options' => [
      'entity_type' => $this
        ->getEntityType(),
      'entity' => $this,
    ],
  ];
}