Search for method
- Search 7.x for method
- Search 9.5.x for method
- Search 8.9.x for method
- Search 10.3.x for method
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ActionMethod | class | core/ |
@internal This API is experimental. |
ActionMethod.php | file | core/ |
|
ActionMethod::__construct | function | core/ |
|
ActionMethodAttributeTest | class | core/ |
@coversDefaultClass \Drupal\Core\Config\Action\Attribute\ActionMethod[[api-linebreak]] @group Config |
ActionMethodAttributeTest.php | file | core/ |
|
ActionMethodAttributeTest::testInvalidFunctionName | function | core/ |
@covers ::__construct[[api-linebreak]] |
AttributeBridgeDecoratorTest::testOtherMethod | function | core/ |
Tests that the decorator of other methods works. |
CallableResolverTest::method | function | core/ |
A test method that returns "foo". |
CallableResolverTest::staticMethod | function | core/ |
A test static method that returns "foo". |
CheckpointStorageTest::readMethodsProvider | function | core/ |
Provide the methods that work transparently. |
CheckpointStorageTest::writeMethodsProvider | function | core/ |
Provide the methods that throw an exception. |
ClassResolverConstraint::$method | property | core/ |
Method to call. |
ClassResolverConstraintValidatorTest::testNonExistingMethod | function | core/ |
Test missing method case. |
ConfigActionsTest::testEntityMethodActions | function | core/ |
Tests the application of entity method actions on a block. |
ConfigActionTest::testDuplicatePluralizedMethodNameException | function | core/ |
|
ConfigActionTest::testDuplicatePluralizedOtherMethodNameException | function | core/ |
|
ConfigActionTest::testEntityMethod | function | core/ |
|
ConfigActionTest::testEntityMethodException | function | core/ |
|
ConfigActionTest::testPluralizedEntityMethod | function | core/ |
|
ConfigActionTest::testPluralizedEntityMethodException | function | core/ |
|
DeprecatedElementTest::testDeprecatedStaticMethods | function | core/ |
Test use of static methods trigger deprecations. |
DuplicatePluralizedMethodName | class | core/ |
Test entity class. |
DuplicatePluralizedMethodName.php | file | core/ |
|
DuplicatePluralizedMethodName::testMethod | function | core/ |
#[ActionMethod(pluralize: 'testMethod')] |
DuplicatePluralizedOtherMethodName | class | core/ |
Test entity class. |
DuplicatePluralizedOtherMethodName.php | file | core/ |
|
DuplicatePluralizedOtherMethodName::testMethod | function | core/ |
#[ActionMethod(pluralize: 'testMethod2')] |
DuplicatePluralizedOtherMethodName::testMethod2 | function | core/ |
#[ActionMethod] |
EntityMethod | class | core/ |
Makes config entity methods with the ActionMethod attribute into actions. |
EntityMethod.php | file | core/ |
|
EntityMethod::apply | function | core/ |
Applies the config action. |
EntityMethod::applyPluralized | function | core/ |
Applies the action to entity treating the $values array as multiple calls. |
EntityMethod::applySingle | function | core/ |
Applies the action to entity treating the $values array a single call. |
EntityMethod::create | function | core/ |
Creates an instance of the plugin. |
EntityMethod::__construct | function | core/ |
Constructs a EntityMethod object. |
EntityMethodConfigActionsTest | class | core/ |
@group Recipe |
EntityMethodConfigActionsTest.php | file | core/ |
|
EntityMethodConfigActionsTest::$configActionManager | property | core/ |
The configuration action manager. |
EntityMethodConfigActionsTest::$modules | property | core/ |
Modules to install. |
EntityMethodConfigActionsTest::setUp | function | core/ |
|
EntityMethodConfigActionsTest::testRemoveComponentFromDisplay | function | core/ |
@testWith ["hideComponent"][[api-linebreak]] ["hideComponents"][[api-linebreak]] [[api-linebreak]] |
EntityMethodConfigActionsTest::testSet | function | core/ |
@testWith ["set", {"property_name": "protected_property", "value": "Here be sandworms..."}][[api-linebreak]] ["setMultiple", [{"property_name": "protected_property",… |
EntityMethodConfigActionsTest::testSetMultipleThirdPartySettings | function | core/ |
Tests setting multiple third party settings. |
EntityMethodConfigActionsTest::testSetNestedProperty | function | core/ |
Test setting a nested property on a config entity. |
EntityMethodConfigActionsTest::testSetPropertiesWillNotChangeEntityKeys | function | core/ |
Tests that the setProperties action refuses to modify entity IDs or UUIDs. |
EntityMethodConfigActionsTest::testSetSingleThirdPartySetting | function | core/ |
@covers \Drupal\Core\Config\Entity\ConfigEntityBase::getThirdPartySetting |
EntityMethodConfigActionsTest::testSetStatus | function | core/ |
@testWith [true, "setStatus", false, false][[api-linebreak]] [false, "setStatus", true, true][[api-linebreak]] [true, "disable", [], false][[api-linebreak]] [false, "enable", [],… |
EntityMethodConfigActionsTest::testSimpleConfigUpdateFailsOnEntities | function | core/ |
Tests that the simpleConfigUpdate action cannot be used on entities. |
EntityMethodDeriver | class | core/ |
Derives config action methods from attributed config entity methods. |
EntityMethodDeriver.php | file | core/ |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.