public static function ForwardAccessChecker::create in Forward 8
Same name and namespace in other branches
- 8.3 src/ForwardAccessChecker.php \Drupal\forward\ForwardAccessChecker::create()
- 8.2 src/ForwardAccessChecker.php \Drupal\forward\ForwardAccessChecker::create()
File
- src/
ForwardAccessChecker.php, line 33
Class
- ForwardAccessChecker
- Defines a class for checking whether a Forward link or form can be diplayed within a given context.
Namespace
Drupal\forwardCode
public static function create(ContainerInterface $container) {
return new static($container
->get('current_user'));
}