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

Breadcrumb

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

function RowPluginBase::defineOptions

Overrides PluginBase::defineOptions

14 calls to RowPluginBase::defineOptions()
DataFieldRow::defineOptions in core/modules/rest/src/Plugin/views/row/DataFieldRow.php
Information about options for all kinds of purposes will be held here.
DataFieldRow::defineOptions in core/modules/rest/src/Plugin/views/row/DataFieldRow.php
Information about options for all kinds of purposes will be held here.
EntityRow::defineOptions in core/modules/views/src/Plugin/views/row/EntityRow.php
Information about options for all kinds of purposes will be held here.
EntityRow::defineOptions in core/modules/views/src/Plugin/views/row/EntityRow.php
Information about options for all kinds of purposes will be held here.
Fields::defineOptions in core/modules/views/src/Plugin/views/row/Fields.php
Information about options for all kinds of purposes will be held here.

... See full list

7 methods override RowPluginBase::defineOptions()
DataFieldRow::defineOptions in core/modules/rest/src/Plugin/views/row/DataFieldRow.php
Information about options for all kinds of purposes will be held here.
EntityRow::defineOptions in core/modules/views/src/Plugin/views/row/EntityRow.php
Information about options for all kinds of purposes will be held here.
Fields::defineOptions in core/modules/views/src/Plugin/views/row/Fields.php
Information about options for all kinds of purposes will be held here.
OpmlFields::defineOptions in core/modules/views/src/Plugin/views/row/OpmlFields.php
Information about options for all kinds of purposes will be held here.
RssFields::defineOptions in core/modules/views/src/Plugin/views/row/RssFields.php
Information about options for all kinds of purposes will be held here.

... See full list

File

core/modules/views/src/Plugin/views/row/RowPluginBase.php, line 76

Class

RowPluginBase
Base class for Views row plugins.

Namespace

Drupal\views\Plugin\views\row

Code

protected function defineOptions() {
    $options = parent::defineOptions();
    if (isset($this->base_table)) {
        $options['relationship'] = [
            'default' => 'none',
        ];
    }
    return $options;
}

API Navigation

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