protected function StorageComparer::removeFromChangelist
protected StorageComparer::removeFromChangelist($collection, $op, $name)
Removes the entry from the given operation changelist for the given name.
Parameters
string $collection: The storage collection to operate on.
string $op: The changelist to act on. Either delete, create, rename or update.
string $name: The name of the configuration to remove.
File
- core/lib/Drupal/Core/Config/StorageComparer.php, line 347
Class
- StorageComparer
- Defines a config storage comparer.
Namespace
Drupal\Core\ConfigCode
protected function removeFromChangelist($collection, $op, $name) { $key = array_search($name, $this->changelist[$collection][$op]); if ($key !== FALSE) { unset($this->changelist[$collection][$op][$key]); } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!StorageComparer.php/function/StorageComparer::removeFromChangelist/8.1.x