16 calls to Action::create()

ActionResourceTestBase::createEntity in core/modules/action/tests/src/Functional/Rest/ActionResourceTestBase.php
Creates the entity to be tested.
ActionResourceTestBase::createEntity in core/modules/system/tests/src/Functional/Rest/ActionResourceTestBase.php
Creates the entity to be tested.
ActionTest::createEntity in core/modules/action/tests/src/Functional/Jsonapi/ActionTest.php
Creates the entity to be tested.
ActionTest::createEntity in core/modules/jsonapi/tests/src/Functional/ActionTest.php
Creates the entity to be tested.
ActionTest::testDependencies in core/modules/system/tests/src/Kernel/Action/ActionTest.php
Tests the dependency calculation of actions.
ActionTest::testNoTypeAction in core/modules/system/tests/src/Kernel/Action/ActionTest.php
Tests no type specified action.
ActionValidationTest::setUp in core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php
CommentActionsTest::testCommentUnpublishByKeyword in core/modules/comment/tests/src/Kernel/CommentActionsTest.php
Tests the unpublish comment by keyword action.
ConfigEntityImportTest::doActionUpdate in core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php
Tests updating an action during import.
ConfigEntityImportTest::doThirdPartySettingsUpdate in core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php
Tests updating of third party settings.
DeleteActionTest::testDeleteAction in core/tests/Drupal/KernelTests/Core/Action/DeleteActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\DeleteAction::execute
PublishActionTest::testPublishAction in core/tests/Drupal/KernelTests/Core/Action/PublishActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\PublishAction::execute
PublishActionTest::testUnpublishAction in core/tests/Drupal/KernelTests/Core/Action/PublishActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\UnpublishAction::execute
SaveActionTest::testSaveAction in core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\SaveAction::execute
UnpublishByKeywordActionTest::testUnpublishByKeywordAction in core/modules/node/tests/src/Kernel/Action/UnpublishByKeywordActionTest.php
Tests creating an action using the node_unpublish_by_keyword_action plugin.
user_user_role_insert in core/modules/user/user.module
Implements hook_ENTITY_TYPE_insert() for user_role entities.

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