You are here

public static function EntityUpdateTestHelper::fieldDisable in Entity Update 8

Same name and namespace in other branches
  1. 2.0.x tests/modules/entity_update_tests/src/EntityUpdateTestHelper.php \Drupal\entity_update_tests\EntityUpdateTestHelper::fieldDisable()

Disable a configurable field.

9 calls to EntityUpdateTestHelper::fieldDisable()
EntityUpdateFunctionsTest::setUp in modules/entity_update_tests/src/Tests/EntityUpdateFunctionsTest.php
Sets up a Drupal site for running functional and integration tests.
EntityUpdateFunctionsTest::testEntityUpdateAdvanced in modules/entity_update_tests/src/Tests/EntityUpdateFunctionsTest.php
Entity advanced update simulation.
EntityUpdateFunctionsTest::testEntityUpdateAll in modules/entity_update_tests/src/Tests/EntityUpdateFunctionsTest.php
Entity update function : all.
EntityUpdateFunctionsTest::testEntityUpdateBasic in modules/entity_update_tests/src/Tests/EntityUpdateFunctionsTest.php
Entity update function : basic.
EntityUpdateFunctionsTest::testEntityUpdateBasicForce in modules/entity_update_tests/src/Tests/EntityUpdateFunctionsTest.php
Entity update function : basic --force.

... See full list

File

modules/entity_update_tests/src/EntityUpdateTestHelper.php, line 50

Class

EntityUpdateTestHelper
EntityUpdateTest Helper functions.

Namespace

Drupal\entity_update_tests

Code

public static function fieldDisable($name) {
  return self::fieldEnable($name, FALSE);
}