public function ConfigReverter::getFromExtension in Configuration Update Manager 8
Gets the extension storage value of configuration.
This is the value from a file in the config/install or config/optional directory of a module, theme, or install profile.
Parameters
string $type: The type of configuration. Or pass '' to indicate that $name is the full name.
string $name: The name of the config item, without the prefix.
Return value
array|false The configuration value, or FALSE if it could not be located.
Overrides ConfigRevertInterface::getFromExtension
File
- src/
ConfigReverter.php, line 211  
Class
- ConfigReverter
 - Provides methods related to config reverting, deleting, and importing.
 
Namespace
Drupal\config_updateCode
public function getFromExtension($type, $name) {
  $value = FALSE;
  $full_name = $this
    ->getFullName($type, $name);
  if ($full_name) {
    $value = $this->extensionConfigStorage
      ->read($full_name);
    if (!$value) {
      $value = $this->extensionOptionalConfigStorage
        ->read($full_name);
    }
  }
  return $value;
}