Drupal 8  8.0.2
EntityDeleteForm Class Reference
Inheritance diagram for EntityDeleteForm:

Public Member Functions

 buildForm (array $form, FormStateInterface $form_state)
 
- Public Member Functions inherited from EntityConfirmFormBase
 getBaseFormId ()
 
 getDescription ()
 
 getConfirmText ()
 
 getCancelText ()
 
 getFormName ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 save (array $form, FormStateInterface $form_state)
 
 delete (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)
 
- Public Member Functions inherited from ConfirmFormInterface
 getQuestion ()
 
 getCancelUrl ()
 

Protected Member Functions

 getConfigManager ()
 
 getConfigNamesToDelete (ConfigEntityInterface $entity)
 
- Protected Member Functions inherited from EntityConfirmFormBase
 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)
 

Additional Inherited Members

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

Detailed Description

Provides a generic base class for an entity deletion form.

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{Form constructor.

Parameters
array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
Returns
array The form structure.
}

Implements FormInterface.

References EntityDeleteForm\getConfigManager(), EntityDeleteForm\getConfigNamesToDelete(), and EntityForm\getEntity().

Here is the call graph for this function:

getConfigManager ( )
protected

Gets the configuration manager.

Returns
The configuration manager.

Referenced by EntityDeleteForm\buildForm().

Here is the caller graph for this function:

getConfigNamesToDelete ( ConfigEntityInterface  $entity)
protected

Returns config names to delete for the deletion confirmation form.

Parameters
\Drupal\Core\Config\Entity\ConfigEntityInterface$entityThe entity being deleted.
Returns
string[] A list of configuration names that will be deleted by this form.

References EntityInterface\getConfigDependencyName().

Referenced by EntityDeleteForm\buildForm().

Here is the call graph for this function:

Here is the caller graph for this function:


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