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

Breadcrumb

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

function ViewsSelection::defaultConfiguration

Overrides SelectionPluginBase::defaultConfiguration

File

core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php, line 114

Class

ViewsSelection
Plugin implementation of the 'selection' entity_reference.

Namespace

Drupal\views\Plugin\EntityReferenceSelection

Code

public function defaultConfiguration() {
    return [
        'view' => [
            'view_name' => NULL,
            'display_name' => NULL,
            'arguments' => [],
        ],
    ] + parent::defaultConfiguration();
}

API Navigation

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