Commit 12faec88 authored by webchick's avatar webchick

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
......@@ -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.
*
......
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