You are here

public function ConfigSnapshotInterface::getItem in Config Snapshot 8

Returns an item from the snapshot for a given collection.

Parameters

string $collection: The configuration collection.

string $name: The name of a configuration object.

Return value

array|null The configuration item or NULL if not found.

1 method overrides ConfigSnapshotInterface::getItem()
ConfigSnapshot::getItem in src/Entity/ConfigSnapshot.php
Returns an item from the snapshot for a given collection.

File

src/Entity/ConfigSnapshotInterface.php, line 66

Class

ConfigSnapshotInterface
Provides an interface for defining config snapshot entities.

Namespace

Drupal\config_snapshot\Entity

Code

public function getItem($collection, $name);