public static function RecentlyReadTypeForm::create in Recently Read 8
RecentlyReadTypeForm create function.
Overrides FormBase::create
File
- src/
Form/ RecentlyReadTypeForm.php, line 46
Class
- RecentlyReadTypeForm
- Class RecentlyReadTypeForm.
Namespace
Drupal\recently_read\FormCode
public static function create(ContainerInterface $container) {
// Instantiates this form class.
return new static($container
->get('messenger'), $container
->get('entity_type.bundle.info'));
}