function DeleteMultipleForm::isWorkspaceSafeForm
Determines whether the form is safe to be submitted in a workspace.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
bool TRUE if the form is workspace-safe, FALSE otherwise.
Overrides WorkspaceDynamicSafeFormInterface::isWorkspaceSafeForm
File
-
core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php, line 329
Class
- DeleteMultipleForm
- Provides an entities deletion confirmation form.
Namespace
Drupal\Core\Entity\FormCode
public function isWorkspaceSafeForm(array $form, FormStateInterface $form_state) : bool {
return $this->isWorkspaceSafeEntityType($this->entityType);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.