abstract class AbstractNodeSourceFieldType extends AbstractType (View source)

Properties

protected NodesSources $nodeSource
protected NodeTypeField $nodeTypeField
protected EntityManager $entityManager

Methods

__construct(NodesSources $nodeSource, NodeTypeField $nodeTypeField, EntityManager $entityManager)

NodeSourceDocumentType constructor.

buildView(FormView $view, FormInterface $form, array $options)

Pass nodeSource to form twig template.

getParent()

{@inheritdoc}

Details

__construct(NodesSources $nodeSource, NodeTypeField $nodeTypeField, EntityManager $entityManager)

NodeSourceDocumentType constructor.

Parameters

NodesSources $nodeSource
NodeTypeField $nodeTypeField
EntityManager $entityManager

buildView(FormView $view, FormInterface $form, array $options)

Pass nodeSource to form twig template.

Parameters

FormView $view
FormInterface $form
array $options

getParent()

{@inheritdoc}