class Action

Same name in this branch
  1. 9 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action
  2. 9 core/modules/system/src/Plugin/migrate/source/Action.php \Drupal\system\Plugin\migrate\source\Action
  3. 9 core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action
Same name in other branches
  1. 8.9.x core/modules/action/src/Plugin/migrate/source/Action.php \Drupal\action\Plugin\migrate\source\Action
  2. 8.9.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action
  3. 8.9.x core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action
  4. 10 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action
  5. 10 core/modules/system/src/Plugin/migrate/source/Action.php \Drupal\system\Plugin\migrate\source\Action
  6. 10 core/lib/Drupal/Core/Action/Attribute/Action.php \Drupal\Core\Action\Attribute\Action
  7. 10 core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action
  8. 11.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action
  9. 11.x core/modules/system/src/Plugin/migrate/source/Action.php \Drupal\system\Plugin\migrate\source\Action
  10. 11.x core/lib/Drupal/Core/Action/Attribute/Action.php \Drupal\Core\Action\Attribute\Action
  11. 11.x core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action

Drupal 6/7 action source from database.

For available configuration keys, refer to the parent classes.

Hierarchy

Expanded class hierarchy of Action

Deprecated

in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Drupal\system\Plugin\migrate\source\Action instead.

See also

\Drupal\migrate\Plugin\migrate\source\SqlBase

\Drupal\migrate\Plugin\migrate\source\SourcePluginBase

https://www.drupal.org/node/3110401

1 file declares its use of Action
ActionTest.php in core/modules/action/tests/src/Unit/Plugin/migrate/source/ActionTest.php
33 string references to 'Action'
action.routing.yml in core/modules/action/action.routing.yml
core/modules/action/action.routing.yml
ActionAdminManageForm::buildForm in core/modules/action/src/Form/ActionAdminManageForm.php
Form constructor.
ActionAdminManageForm::submitForm in core/modules/action/src/Form/ActionAdminManageForm.php
Form submission handler.
ActionFormBase::create in core/modules/action/src/Form/ActionFormBase.php
Instantiates a new instance of this class.
ActionListTest::testEmptyActionList in core/modules/action/tests/src/Functional/ActionListTest.php
Tests the behavior when there are no actions to list in the admin page.

... See full list

File

core/modules/action/src/Plugin/migrate/source/Action.php, line 22

Namespace

Drupal\action\Plugin\migrate\source
View source
class Action extends SystemAction {

}

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