Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
3a169279
Commit
3a169279
authored
Aug 26, 2012
by
damiankloip
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added id() method to ViewStorage
parent
b12d8436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lib/Drupal/views/ViewStorage.php
lib/Drupal/views/ViewStorage.php
+7
-0
No files found.
lib/Drupal/views/ViewStorage.php
View file @
3a169279
...
...
@@ -15,6 +15,13 @@ public function __construct(array $values, $entity_type) {
parent
::
__construct
(
$values
,
'view'
);
}
/**
* Overrides Drupal\entity\StorableInterface::id().
*/
public
function
id
()
{
return
$this
->
name
;
}
/**
* @var string
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment