function drush_state_get

8.0.x state.drush.inc drush_state_get($key = NULL)
7.x state.drush.inc drush_state_get($key = NULL)

State get command callback.

@state $key The state key.

File

commands/core/state.drush.inc, line 90
Provides State commands.

Code

function drush_state_get($key = NULL) {
  return \Drupal::state()->get($key);
}