function DrupalSqlBase::moduleExists
Checks if a given module is enabled in the source Drupal database.
Parameters
string $module: Name of module to check.
Return value
bool TRUE if module is enabled on the origin system, FALSE if not.
19 calls to DrupalSqlBase::moduleExists()
- Comment::prepareRow in core/modules/ comment/ src/ Plugin/ migrate/ source/ d7/ Comment.php 
- Adds additional data to the row.
- CommentEntityTranslation::checkRequirements in core/modules/ comment/ src/ Plugin/ migrate/ source/ d7/ CommentEntityTranslation.php 
- Checks if requirements for this plugin are OK.
- CommentEntityTranslation::prepareRow in core/modules/ comment/ src/ Plugin/ migrate/ source/ d7/ CommentEntityTranslation.php 
- Adds additional data to the row.
- CommentType::checkRequirements in core/modules/ comment/ src/ Plugin/ migrate/ source/ CommentType.php 
- Checks if requirements for this plugin are OK.
- DrupalSqlBase::checkRequirements in core/modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php 
- Checks if requirements for this plugin are OK.
File
- 
              core/modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php, line 154 
Class
- DrupalSqlBase
- A base class for source plugins using a Drupal database as a source.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
protected function moduleExists($module) {
  $system_data = $this->getSystemData();
  return !empty($system_data['module'][$module]['status']);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
