public function ConfigPatch::toArray in Configuration Split 2.0.x
Transform it to an array for persisting the patch.
Return value
array The data.
File
- src/
Config/ ConfigPatch.php, line 92
Class
- ConfigPatch
- The config patch value object.
Namespace
Drupal\config_split\ConfigCode
public function toArray() : array {
return [
'added' => $this->added,
'removed' => $this->removed,
];
}