You are here

protected property Comment::$pathField in Views (for Drupal 7) 8.3

Set default values for the path field options.

Overrides WizardPluginBase::$pathField

File

lib/Views/comment/Plugin/views/wizard/Comment.php, line 38
Definition of Views\node\Plugin\views\wizard\Comment.

Class

Comment
Tests creating comment views with the wizard.

Namespace

Views\comment\Plugin\views\wizard

Code

protected $pathField = array(
  'id' => 'cid',
  'table' => 'comment',
  'field' => 'cid',
  'exclude' => TRUE,
  'link_to_comment' => FALSE,
  'alter' => array(
    'alter_text' => TRUE,
    'text' => 'comment/[cid]#comment-[cid]',
  ),
);