You are here

class DblogOperations in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/dblog/src/Plugin/views/field/DblogOperations.php \Drupal\dblog\Plugin\views\field\DblogOperations
  2. 9 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

  • class \Drupal\dblog\Plugin\views\field\DblogOperations extends \Drupal\views\Plugin\views\field\FieldPluginBase

Expanded class hierarchy of DblogOperations

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');
  }

}

Members