You are here

public function Framework::testClearTestFlag in Realistic Dummy Content 3.x

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

Tests self::clearTestFlag().

File

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

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function testClearTestFlag() {
  self::addTestFlag('whatever');
  self::clearTestFlag('whatever');
  return self::getTestFlag('whatever');
}