public function ConfigSnapshotInterface::clearItem in Config Snapshot 8
Clears 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
\Drupal\config_snapshot\Entity\ConfigSnapshotInterface A config snapshot object for chaining.
1 method overrides ConfigSnapshotInterface::clearItem()
- ConfigSnapshot::clearItem in src/
Entity/ ConfigSnapshot.php - Clears an item from the snapshot for a given collection.
File
- src/
Entity/ ConfigSnapshotInterface.php, line 94
Class
- ConfigSnapshotInterface
- Provides an interface for defining config snapshot entities.
Namespace
Drupal\config_snapshot\EntityCode
public function clearItem($collection, $name);