public static function EntityUpdateTestHelper::fieldDisable in Entity Update 2.0.x
Same name and namespace in other branches
- 8 modules/entity_update_tests/src/EntityUpdateTestHelper.php \Drupal\entity_update_tests\EntityUpdateTestHelper::fieldDisable()
Disable a configurable field.
12 calls to EntityUpdateTestHelper::fieldDisable()
- EntityUpdateFunctionsTest::setUp in tests/
src/ Functional/ EntityUpdateFunctionsTest.php - EntityUpdateFunctionsTest::testEntityUpdateAdvanced in tests/
src/ Functional/ EntityUpdateFunctionsTest.php - Entity advanced update simulation.
- EntityUpdateFunctionsTest::testEntityUpdateAll in tests/
src/ Functional/ EntityUpdateFunctionsTest.php - Entity update function : all.
- EntityUpdateFunctionsTest::testEntityUpdateBasic in tests/
src/ Functional/ EntityUpdateFunctionsTest.php - Entity update function : basic.
- EntityUpdateFunctionsTest::testEntityUpdateBasicForce in tests/
src/ Functional/ EntityUpdateFunctionsTest.php - Entity update function : basic --force.
File
- tests/
modules/ entity_update_tests/ src/ EntityUpdateTestHelper.php, line 50
Class
- EntityUpdateTestHelper
- EntityUpdateTest Helper functions.
Namespace
Drupal\entity_update_testsCode
public static function fieldDisable($name) {
return self::fieldEnable($name, FALSE);
}