interface WorkspaceSafeFormInterface

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Form/WorkspaceSafeFormInterface.php \Drupal\Core\Form\WorkspaceSafeFormInterface

Defines an interface for forms that are safe to be submitted in a workspace.

A form is considered workspace-safe if its submission has no impact on the Live site.

Hierarchy

Expanded class hierarchy of WorkspaceSafeFormInterface

All classes that implement WorkspaceSafeFormInterface

See also

\Drupal\Core\Form\WorkspaceDynamicSafeFormInterface

12 files declare their use of WorkspaceSafeFormInterface
FormOperations.php in core/modules/workspaces/src/FormOperations.php
SearchBlockForm.php in core/modules/search/src/Form/SearchBlockForm.php
SearchPageForm.php in core/modules/search/src/Form/SearchPageForm.php
SwitchToLiveForm.php in core/modules/workspaces/src/Form/SwitchToLiveForm.php
UserLogoutConfirm.php in core/modules/user/src/Form/UserLogoutConfirm.php

... See full list

File

core/lib/Drupal/Core/Form/WorkspaceSafeFormInterface.php, line 15

Namespace

Drupal\Core\Form
View source
interface WorkspaceSafeFormInterface {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.