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

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsHandlerInterface.php

function ViewsHandlerInterface::getField

Shortcut to get a handler's raw field value.

This should be overridden for handlers with formulae or other non-standard fields. Because this takes an argument, fields overriding this can just call return parent::getField($formula)

1 method overrides ViewsHandlerInterface::getField()
HandlerBase::getField in core/modules/views/src/Plugin/views/HandlerBase.php
Shortcut to get a handler's raw field value.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 99

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function getField($field = NULL);

API Navigation

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