interface WorkspaceSafeFormInterface

Same name and namespace in other branches
  1. 10 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

23 files declare their use of WorkspaceSafeFormInterface
ActiveWorkspaceTestForm.php in core/modules/workspaces/tests/modules/workspaces_test/src/Form/ActiveWorkspaceTestForm.php
AddFormBase.php in core/modules/media_library/src/Form/AddFormBase.php
FormOperations.php in core/modules/workspaces/src/Hook/FormOperations.php
MediaLibrarySelectForm.php in core/modules/media_library/src/Plugin/views/field/MediaLibrarySelectForm.php
SearchBlockForm.php in core/modules/search/src/Form/SearchBlockForm.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.