You are here

public static function Framework::testAddTestFlag 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::testAddTestFlag()
  2. 7.2 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 434

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');
}