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

Breadcrumb

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

function HandlerBase::defineOptions

Overrides PluginBase::defineOptions

12 calls to HandlerBase::defineOptions()
AreaPluginBase::defineOptions in core/modules/views/src/Plugin/views/area/AreaPluginBase.php
Information about options for all kinds of purposes will be held here.
AreaPluginBase::defineOptions in core/modules/views/src/Plugin/views/area/AreaPluginBase.php
Information about options for all kinds of purposes will be held here.
ArgumentPluginBase::defineOptions in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Information about options for all kinds of purposes will be held here.
ArgumentPluginBase::defineOptions in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Information about options for all kinds of purposes will be held here.
FieldPluginBase::defineOptions in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Information about options for all kinds of purposes will be held here.

... See full list

6 methods override HandlerBase::defineOptions()
AreaPluginBase::defineOptions in core/modules/views/src/Plugin/views/area/AreaPluginBase.php
Information about options for all kinds of purposes will be held here.
ArgumentPluginBase::defineOptions in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Information about options for all kinds of purposes will be held here.
FieldPluginBase::defineOptions in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Information about options for all kinds of purposes will be held here.
FilterPluginBase::defineOptions in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Information about options for all kinds of purposes will be held here.
RelationshipPluginBase::defineOptions in core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php
Information about options for all kinds of purposes will be held here.

... See full list

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 147

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

protected function defineOptions() {
    $options = parent::defineOptions();
    $options['id'] = [
        'default' => '',
    ];
    $options['table'] = [
        'default' => '',
    ];
    $options['field'] = [
        'default' => '',
    ];
    $options['relationship'] = [
        'default' => 'none',
    ];
    $options['group_type'] = [
        'default' => 'group',
    ];
    $options['admin_label'] = [
        'default' => '',
    ];
    return $options;
}

API Navigation

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