function Iid::create

Same name and namespace in other branches
  1. 8.9.x core/modules/aggregator/src/Plugin/views/argument/Iid.php \Drupal\aggregator\Plugin\views\argument\Iid::create()

Overrides PluginBase::create

File

core/modules/aggregator/src/Plugin/views/argument/Iid.php, line 45

Class

Iid
Argument handler to accept an aggregator item id.

Namespace

Drupal\aggregator\Plugin\views\argument

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($configuration, $plugin_id, $plugin_definition, $container->get('entity_type.manager'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.