function drush_get_special_keys

8.0.x sitealias.inc drush_get_special_keys()
6.x sitealias.inc drush_get_special_keys()
7.x sitealias.inc drush_get_special_keys()
4.x sitealias.inc drush_get_special_keys()
5.x sitealias.inc drush_get_special_keys()
master sitealias.inc drush_get_special_keys()

Helper function to obtain the keys' names that need special handling in certain cases.

Return value

A non-associative array containing the needed keys' names.

3 calls to drush_get_special_keys()
drush_sitealias_set_alias_context in includes/sitealias.inc
Given a site alias record, copy selected fields from it into the drush 'alias' context. The 'alias' context has lower precedence than the 'cli' context, so values set by an alias record can be overridden by…
policy_drush_sitealias_alter in examples/policy.drush.inc
Implements hook_drush_sitealias_alter
_drush_sitealias_add_inherited_values_to_record in includes/sitealias.inc

File

includes/sitealias.inc, line 2140
The site alias API.

Code

function drush_get_special_keys() {
  $special_keys = array(
    'command-specific',
    'site-aliases',
  );
  return $special_keys;
}