class DblogOperations

Same name and namespace in other branches
  1. 10 core/modules/dblog/src/Plugin/views/field/DblogOperations.php \Drupal\dblog\Plugin\views\field\DblogOperations
  2. 11.x core/modules/dblog/src/Plugin/views/field/DblogOperations.php \Drupal\dblog\Plugin\views\field\DblogOperations
  3. 8.9.x core/modules/dblog/src/Plugin/views/field/DblogOperations.php \Drupal\dblog\Plugin\views\field\DblogOperations

Provides a field handler that renders operation link markup.

Plugin annotation

@ViewsField("dblog_operations");

Hierarchy

Expanded class hierarchy of DblogOperations

Related topics

File

core/modules/dblog/src/Plugin/views/field/DblogOperations.php, line 15

Namespace

Drupal\dblog\Plugin\views\field
View source
class DblogOperations extends FieldPluginBase {
  
  /**
   * {@inheritdoc}
   */
  public function clickSortable() {
    return FALSE;
  }
  
  /**
   * {@inheritdoc}
   */
  public function render(ResultRow $values) {
    $value = $this->getValue($values);
    return $this->sanitizeValue($value, 'xss_admin');
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.