Beta version

class NodeSourceType extends AbstractType

Methods

__construct(NodeType $nodeType)

No description

buildForm(FormBuilderInterface $builder, array $options)

No description

configureOptions(OptionsResolver $resolver)

No description

getName()

[email protected]}

AbstractType
getFormTypeFromFieldType(NodesSources $nodeSource, NodeTypeField $field, array $options)

Returns a Symfony Form type according to a node-type field.

array
getDefaultOptions(NodeTypeField $field)

Get common options for your node-type field form components.

array
getFormOptionsFromFieldType(NodeTypeField $field)

Returns an option array for creating a Symfony Form according to a node-type field.

Details

at line 57
__construct(NodeType $nodeType)

Parameters

NodeType $nodeType

at line 66
buildForm(FormBuilderInterface $builder, array $options)

Parameters

FormBuilderInterface $builder
array $options

at line 90
configureOptions(OptionsResolver $resolver)

Parameters

OptionsResolver $resolver

at line 111
getName()

[email protected]}

at line 178
AbstractType getFormTypeFromFieldType(NodesSources $nodeSource, NodeTypeField $field, array $options)

Returns a Symfony Form type according to a node-type field.

Parameters

NodesSources $nodeSource
NodeTypeField $field
array $options

Return Value

AbstractType

at line 224
array getDefaultOptions(NodeTypeField $field)

Get common options for your node-type field form components.

Parameters

NodeTypeField $field

Return Value

array

at line 266
array getFormOptionsFromFieldType(NodeTypeField $field)

Returns an option array for creating a Symfony Form according to a node-type field.

Parameters

NodeTypeField $field

Return Value

array