public static function ForwardLink::create in Forward 8
Same name in this branch
- 8 src/Plugin/DsField/ForwardLink.php \Drupal\forward\Plugin\DsField\ForwardLink::create()
- 8 src/Plugin/views/field/ForwardLink.php \Drupal\forward\Plugin\views\field\ForwardLink::create()
Same name and namespace in other branches
- 8.3 src/Plugin/DsField/ForwardLink.php \Drupal\forward\Plugin\DsField\ForwardLink::create()
- 8.2 src/Plugin/DsField/ForwardLink.php \Drupal\forward\Plugin\DsField\ForwardLink::create()
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
array $configuration:
string $plugin_id:
mixed $plugin_definition:
Return value
static
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ DsField/ ForwardLink.php, line 72
Class
- ForwardLink
- Forward link plugin.
Namespace
Drupal\forward\Plugin\DsFieldCode
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'));
}