You are here

public static function Framework::testAddTestFlag in Realistic Dummy Content 7.2

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

Tests self::addTestFlag().

1 call to Framework::testAddTestFlag()
Framework::testGetTestFlag in api/src/Framework/Framework.php
Tests self::getTestFlag().

File

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

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public static function testAddTestFlag() {
  self::addTestFlag('whatever');
  return !self::getTestFlag('whatever');
}