Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

DblogOperations.php

Namespace

Drupal\dblog\Plugin\views\field

File

core/modules/dblog/src/Plugin/views/field/DblogOperations.php

View source
<?php

namespace Drupal\dblog\Plugin\views\field;

use Drupal\views\Attribute\ViewsField;
use Drupal\views\Plugin\views\field\FieldPluginBase;
use Drupal\views\ResultRow;

/**
 * Provides a field handler that renders operation link markup.
 *
 * @ingroup views_field_handlers
 */
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');
    }

}

Classes

Title Deprecated Summary
DblogOperations Provides a field handler that renders operation link markup.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal