function CheckpointStorage::read

Same name in other branches
  1. 10 core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php \Drupal\Core\Config\Checkpoint\CheckpointStorage::read()

Overrides StorageInterface::read

File

core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php, line 111

Class

CheckpointStorage
Provides a config storage that can make checkpoints.

Namespace

Drupal\Core\Config\Checkpoint

Code

public function read($name) {
    $return = $this->readMultiple([
        $name,
    ]);
    return $return[$name] ?? FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.