Drupal 8  8.0.2
FilterFormatFormBase Class Reference
Inheritance diagram for FilterFormatFormBase:

Public Member Functions

 __construct (QueryFactory $query_factory)
 
 form (array $form, FormStateInterface $form_state)
 
 exists ($format_id)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from EntityForm
 setOperation ($operation)
 
 getBaseFormId ()
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 form (array $form, FormStateInterface $form_state)
 
 processForm ($element, FormStateInterface $form_state, $form)
 
 afterBuild (array $element, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 save (array $form, FormStateInterface $form_state)
 
 buildEntity (array $form, FormStateInterface $form_state)
 
 getEntity ()
 
 setEntity (EntityInterface $entity)
 
 getEntityFromRouteMatch (RouteMatchInterface $route_match, $entity_type_id)
 
 getOperation ()
 
 setModuleHandler (ModuleHandlerInterface $module_handler)
 
 setEntityManager (EntityManagerInterface $entity_manager)
 
 setEntityTypeManager (EntityTypeManagerInterface $entity_type_manager)
 
- Public Member Functions inherited from EntityFormInterface
 setStringTranslation (TranslationInterface $string_translation)
 
- Public Member Functions inherited from FormInterface
 validateForm (array &$form, FormStateInterface $form_state)
 

Static Public Member Functions

static create (ContainerInterface $container)
 

Protected Member Functions

 actions (array $form, FormStateInterface $form_state)
 
- Protected Member Functions inherited from EntityForm
 init (FormStateInterface $form_state)
 
 actionsElement (array $form, FormStateInterface $form_state)
 
 actions (array $form, FormStateInterface $form_state)
 
 copyFormValuesToEntity (EntityInterface $entity, array $form, FormStateInterface $form_state)
 
 prepareEntity ()
 
 prepareInvokeAll ($hook, FormStateInterface $form_state)
 

Protected Attributes

 $queryFactory
 
- Protected Attributes inherited from EntityForm
 $operation
 
 $moduleHandler
 
 $entityManager
 
 $entityTypeManager
 
 $entity
 

Detailed Description

Provides a base form for a filter format.

Constructor & Destructor Documentation

__construct ( QueryFactory  $query_factory)

Constructs a new FilterFormatFormBase.

Parameters
\Drupal\Core\Entity\Query\QueryFactory$query_factoryThe entity query factory.

Member Function Documentation

actions ( array  $form,
FormStateInterface  $form_state 
)
protected

{}

References t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}

exists (   $format_id)

Determines if the format already exists.

Parameters
string$format_idThe format ID
Returns
bool TRUE if the format exists, FALSE otherwise.
form ( array  $form,
FormStateInterface  $form_state 
)

{}

References Drupal\config(), and t().

Here is the call graph for this function:

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References t().

Here is the call graph for this function:


The documentation for this class was generated from the following file: