public static function ForwardLinkGenerator::create in Forward 4.x
Same name and namespace in other branches
- 4.0.x src/Services/ForwardLinkGenerator.php \Drupal\forward\Services\ForwardLinkGenerator::create()
File
- src/
Services/ ForwardLinkGenerator.php, line 57
Class
- ForwardLinkGenerator
- Defines a class for generating a Forward link on an entity.
Namespace
Drupal\forward\ServicesCode
public static function create(ContainerInterface $container) {
return new static($container
->get('link_generator'), $container
->get('token'), $container
->get('renderer'));
}