public static function Framework::getTestFlag in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::getTestFlag()
- 7.2 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 370
Class
- Framework
- The entry point for the framework.
Namespace
Drupal\realistic_dummy_content_api\FrameworkCode
public static function getTestFlag($flag) {
return isset(self::$testFlag[$flag]);
}