Skip to content
Snippets Groups Projects
Commit 12faec88 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2495833 by alexpott, tim.plunkett, dawehner:...

Issue #2495833 by alexpott, tim.plunkett, dawehner: Drupal\node\NodePermissions::contentPermissions() is duplicate and dead code
parent dcd6fa3e
No related branches found
No related tags found
No related merge requests found
......@@ -27,4 +27,3 @@ delete all revisions:
permission_callbacks:
- \Drupal\node\NodePermissions::nodeTypePermissions
- \Drupal\node\NodePermissions::contentPermissions
......@@ -19,21 +19,6 @@ class NodePermissions {
use StringTranslationTrait;
use UrlGeneratorTrait;
/**
* Gets an array of content permissions.
*
* @return array
* The content permissions.
*/
public function contentPermissions() {
return array(
'access content overview' => array(
'title' => $this->t('Access the Content overview page'),
'description' => $this->t('Get an overview of <a href="!url">all content</a>.', array('!url' => $this->url('system.admin_content'))),
),
);
}
/**
* Gets an array of node type permissions.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment