You are here

public static function Framework::getTestFlag in Realistic Dummy Content 8.2

Same name and namespace in other branches
  1. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getTestFlag()
  2. 3.x api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getTestFlag()

Retrieves whether or not a given test flag is set.

4 calls to Framework::getTestFlag()
Framework::testAddTestFlag in api/src/Framework/Framework.php
Tests self::addTestFlag().
Framework::testClearTestFlag in api/src/Framework/Framework.php
Tests self::clearTestFlag().
Framework::testHookEntityPresave in api/src/Framework/Framework.php
Test self::hookEntityPresave().
Framework::testModuleInvokeAll in api/src/Framework/Framework.php
Tests self::moduleInvokeAll().

File

api/src/Framework/Framework.php, line 373

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public static function getTestFlag($flag) {
  return isset(self::$testFlag[$flag]);
}