You are here

public static function ForwardLink::create in Forward 8.3

Same name in this branch
  1. 8.3 src/Plugin/DsField/ForwardLink.php \Drupal\forward\Plugin\DsField\ForwardLink::create()
  2. 8.3 src/Plugin/views/field/ForwardLink.php \Drupal\forward\Plugin\views\field\ForwardLink::create()
Same name and namespace in other branches
  1. 8 src/Plugin/views/field/ForwardLink.php \Drupal\forward\Plugin\views\field\ForwardLink::create()
  2. 8.2 src/Plugin/views/field/ForwardLink.php \Drupal\forward\Plugin\views\field\ForwardLink::create()

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

array $configuration:

string $plugin_id:

mixed $plugin_definition:

Return value

static

Overrides PluginBase::create

File

src/Plugin/views/field/ForwardLink.php, line 73

Class

ForwardLink
Field handler to flag the node type.

Namespace

Drupal\forward\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('forward.access_checker'), $container
    ->get('forward.link_builder'), $container
    ->get('config.factory'));
}