dns.drush.load.inc

Functions

Namesort descending Description
dns_drush_load Implements hook_drush_load(). Deprecated. Removed in Drush 7.x.

File

dns/dns.drush.load.inc
View source
  1. <?php
  2. /**
  3. * Implements hook_drush_load(). Deprecated. Removed in Drush 7.x.
  4. *
  5. * Checks if the corresponsing Hosting Feature is installed and enabled.
  6. */
  7. function dns_drush_load() {
  8. $features = drush_get_option('hosting_features', array());
  9. return array_key_exists('dns', $features) && $features['dns'];
  10. }