Drupal 8  8.0.2
DeleteForm Class Reference
Inheritance diagram for DeleteForm:

Public Member Functions

 getCancelUrl ()
 
 getDescription ()
 
 logDeletionMessage ()
 
- Public Member Functions inherited from ContentEntityConfirmFormBase
 getBaseFormId ()
 
 getDescription ()
 
 getConfirmText ()
 
 getCancelText ()
 
 getFormName ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 form (array $form, FormStateInterface $form_state)
 
 save (array $form, FormStateInterface $form_state)
 
 delete (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
- Public Member Functions inherited from ContentEntityForm
 __construct (EntityManagerInterface $entity_manager)
 
 form (array $form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 
 getFormLangcode (FormStateInterface $form_state)
 
 isDefaultFormLangcode (FormStateInterface $form_state)
 
 getFormDisplay (FormStateInterface $form_state)
 
 setFormDisplay (EntityFormDisplayInterface $form_display, FormStateInterface $form_state)
 
 updateFormLangcode ($entity_type_id, EntityInterface $entity, array $form, FormStateInterface $form_state)
 
 updateChangedTime (EntityInterface $entity)
 
- 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 ConfirmFormInterface
 getQuestion ()
 

Protected Member Functions

 getRedirectUrl ()
 
 getDeletionMessage ()
 
- Protected Member Functions inherited from ContentEntityConfirmFormBase
 actions (array $form, FormStateInterface $form_state)
 
- Protected Member Functions inherited from ContentEntityForm
 getEditedFieldNames (FormStateInterface $form_state)
 
 init (FormStateInterface $form_state)
 
 initFormLangcodes (FormStateInterface $form_state)
 
 copyFormValuesToEntity (EntityInterface $entity, 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

- Static Public Member Functions inherited from ContentEntityForm
static create (ContainerInterface $container)
 
- Data Fields inherited from ContentEntityDeleteForm
logDeletionMessage as traitLogDeletionMessage
 
getDeletionMessage as traitGetDeletionMessage
 
getCancelUrl as traitGetCancelUrl
 
- Protected Attributes inherited from ContentEntityForm
 $entityManager
 
- Protected Attributes inherited from EntityForm
 $operation
 
 $moduleHandler
 
 $entityManager
 
 $entityTypeManager
 
 $entity
 

Detailed Description

Provides the comment delete confirmation form.

Member Function Documentation

getCancelUrl ( )

{Returns the route to go to if the user cancels the action.

Returns
A URL object.
}

Implements ConfirmFormInterface.

Referenced by DeleteForm\getRedirectUrl().

Here is the caller graph for this function:

getDeletionMessage ( )
protected

{}

References t().

Here is the call graph for this function:

getDescription ( )

{Returns additional text to display as a description.

Returns
string The form description.
}

Implements ConfirmFormInterface.

References t().

Here is the call graph for this function:

getRedirectUrl ( )
protected

{}

References DeleteForm\getCancelUrl().

Here is the call graph for this function:

logDeletionMessage ( )

{}

References Drupal\logger().

Here is the call graph for this function:


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