Commit 3a169279 authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Added id() method to ViewStorage

parent b12d8436
...@@ -15,6 +15,13 @@ public function __construct(array $values, $entity_type) { ...@@ -15,6 +15,13 @@ public function __construct(array $values, $entity_type) {
parent::__construct($values, 'view'); parent::__construct($values, 'view');
} }
/**
* Overrides Drupal\entity\StorableInterface::id().
*/
public function id() {
return $this->name;
}
/** /**
* @var string * @var string
*/ */
......
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