You are here

public function Drupal8::moduleExists in Realistic Dummy Content 7.2

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

File

api/src/Framework/Drupal8.php, line 273

Class

Drupal8
Drupal 8-specific code.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function moduleExists($module) {
  return \Drupal::moduleHandler()
    ->moduleExists($module);
}