class DblogOperations in Drupal 10
Same name and namespace in other branches
- 8 core/modules/dblog/src/Plugin/views/field/DblogOperations.php \Drupal\dblog\Plugin\views\field\DblogOperations
- 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\fieldView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DblogOperations:: |
public | function | ||
DblogOperations:: |
public | function |