public static function ForwardLinkBuilder::create in Forward 8
Same name and namespace in other branches
- 8.3 src/ForwardLinkBuilder.php \Drupal\forward\ForwardLinkBuilder::create()
- 8.2 src/ForwardLinkBuilder.php \Drupal\forward\ForwardLinkBuilder::create()
File
- src/
ForwardLinkBuilder.php, line 57
Class
- ForwardLinkBuilder
- Defines a class for building markup for a Forward link on an entity.
Namespace
Drupal\forwardCode
public static function create(ContainerInterface $container) {
return new static($container
->get('token'), $container
->get('renderer'), $container
->get('link_generator'));
}