Commit 8bff939b authored by webchick's avatar webchick

Issue #2020429 by andypost: Fixed Cleanup comment views handlers docs.

parent d3fe0d43
......@@ -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
*
......
......@@ -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 edit.
* Field handler to present a link to edit a comment.
*
* @ingroup views_field_handlers
*
......@@ -39,7 +39,7 @@ public function buildOptionsForm(&$form, &$form_state) {
function render_link($data, $values) {
parent::render_link($data, $values);
// ensure user has access to edit this comment.
// Ensure user has access to edit this comment.
$comment = $this->getValue($values);
if (!$comment->access('update')) {
return;
......
......@@ -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
*
......
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