Commit 186312d6 authored by alexpott's avatar alexpott
Browse files

Issue #2044825 by Gábor Hojtsy: Fixed Language entity missing uri() method implementation.

parent c1f73e66
...@@ -91,4 +91,17 @@ public function preSave(EntityStorageControllerInterface $storage_controller) { ...@@ -91,4 +91,17 @@ public function preSave(EntityStorageControllerInterface $storage_controller) {
$this->langcode = 'en'; $this->langcode = 'en';
} }
/**
* {@inheritdoc}
*/
public function uri() {
return array(
'path' => 'admin/config/regional/language/edit/' . $this->id(),
'options' => array(
'entity_type' => $this->entityType,
'entity' => $this,
),
);
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment