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

Breadcrumb

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

function EntityReferenceArgument::__construct

Overrides HandlerBase::__construct

File

core/modules/views/src/Plugin/views/argument/EntityReferenceArgument.php, line 28

Class

EntityReferenceArgument
Argument handler to accept an entity reference ID value.

Namespace

Drupal\views\Plugin\views\argument

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityRepositoryInterface $entityRepository, EntityTypeManagerInterface $entityTypeManager) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
}

API Navigation

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