Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8bff939b
Commit
8bff939b
authored
Jun 17, 2013
by
webchick
Browse files
Issue
#2020429
by andypost: Fixed Cleanup comment views handlers docs.
parent
d3fe0d43
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkDelete.php
View file @
8bff939b
...
...
@@ -2,7 +2,7 @@
/**
* @file
*
Definition of
Drupal\comment\Plugin\views\field\LinkDelete.
*
Contains \
Drupal\comment\Plugin\views\field\LinkDelete.
*/
namespace
Drupal\comment\Plugin\views\field
;
...
...
@@ -10,7 +10,7 @@
use
Drupal\Component\Annotation\PluginID
;
/**
* Field handler to present a link to delete a
node
.
* Field handler to present a link to delete a
comment
.
*
* @ingroup views_field_handlers
*
...
...
core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkEdit.php
View file @
8bff939b
...
...
@@ -2,7 +2,7 @@
/**
* @file
*
Definition of
Drupal\comment\Plugin\views\field\LinkEdit.
*
Contains \
Drupal\comment\Plugin\views\field\LinkEdit.
*/
namespace
Drupal\comment\Plugin\views\field
;
...
...
@@ -10,7 +10,7 @@
use
Drupal\Component\Annotation\PluginID
;
/**
* Field handler to present a link
node edi
t.
* Field handler to present a link
to edit a commen
t.
*
* @ingroup views_field_handlers
*
...
...
@@ -39,7 +39,7 @@ public function buildOptionsForm(&$form, &$form_state) {
function
render_link
(
$data
,
$values
)
{
parent
::
render_link
(
$data
,
$values
);
//
e
nsure user has access to edit this comment.
//
E
nsure user has access to edit this comment.
$comment
=
$this
->
getValue
(
$values
);
if
(
!
$comment
->
access
(
'update'
))
{
return
;
...
...
core/modules/comment/lib/Drupal/comment/Plugin/views/field/LinkReply.php
View file @
8bff939b
...
...
@@ -2,7 +2,7 @@
/**
* @file
*
Definition of
Drupal\comment\Plugin\views\field\LinkReply.
*
Contains \
Drupal\comment\Plugin\views\field\LinkReply.
*/
namespace
Drupal\comment\Plugin\views\field
;
...
...
@@ -10,7 +10,7 @@
use
Drupal\Component\Annotation\PluginID
;
/**
* Field handler to present a link to
delete a node
.
* Field handler to present a link to
reply to a comment
.
*
* @ingroup views_field_handlers
*
...
...
Write
Preview
Supports
Markdown
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