public static function RealisticDummyContentEnvironment::set in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::set()
- 7.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::set()
Set the current environment.
See the comment on the private variable $env.
Parameters
object $environment: An object of type RealisticDummyContentEnvironment.
File
- api/
src/ includes/ RealisticDummyContentEnvironment.php, line 52
Class
- RealisticDummyContentEnvironment
- The abstract base environment.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public static function set($environment) {
self::$env = $environment;
}