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

Breadcrumb

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

function FieldPluginBase::getValue

Overrides FieldHandlerInterface::getValue

26 calls to FieldPluginBase::getValue()
Boolean::render in core/modules/views/src/Plugin/views/field/Boolean.php
Renders the field.
Date::render in core/modules/views/src/Plugin/views/field/Date.php
Renders the field.
DblogMessage::render in core/modules/dblog/src/Plugin/views/field/DblogMessage.php
Renders the field.
DblogMessage::render in core/modules/dblog/src/Plugin/views/field/DblogMessage.php
Renders the field.
DblogOperations::render in core/modules/dblog/src/Plugin/views/field/DblogOperations.php
Renders the field.

... See full list

2 methods override FieldPluginBase::getValue()
EntityField::getValue in core/modules/views/src/Plugin/views/field/EntityField.php
Gets the value that's supposed to be rendered.
MediaLibrarySelectForm::getValue in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
Gets the value that's supposed to be rendered.

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 465

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

public function getValue(ResultRow $values, $field = NULL) {
    $alias = isset($field) ? $this->aliases[$field] : $this->field_alias;
    if (isset($values->{$alias})) {
        return $values->{$alias};
    }
}

API Navigation

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