function Links::create

Same name in other branches
  1. 10 core/modules/views/src/Plugin/views/field/Links.php \Drupal\views\Plugin\views\field\Links::create()

Overrides PluginBase::create

File

core/modules/views/src/Plugin/views/field/Links.php, line 37

Class

Links
An abstract handler which provides a collection of links.

Namespace

Drupal\views\Plugin\views\field

Code

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

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