public function ConfigSnapshot::setItems in Config Snapshot 8
Sets the items for this snapshot.
Parameters
array[] $items: Items to set for the snapshot.
Return value
\Drupal\config_snapshot\Entity\ConfigSnapshotInterface A config snapshot object for chaining.
Overrides ConfigSnapshotInterface::setItems
File
- src/
Entity/ ConfigSnapshot.php, line 111
Class
- ConfigSnapshot
- Defines the Config snapshot entity.
Namespace
Drupal\config_snapshot\EntityCode
public function setItems(array $items) {
$this->items = $items;
return $this;
}