You are here

public static function TagFormView::create in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Form/TagFormView.php \Drupal\xbbcode\Form\TagFormView::create()

Throws

\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException

\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException

Overrides FormBase::create

File

src/Form/TagFormView.php, line 20

Class

TagFormView
A form for viewing a read-only BBCode tag.

Namespace

Drupal\xbbcode\Form

Code

public static function create(ContainerInterface $container) : self {
  return new static($container
    ->get('twig'));
}