An error occurred while fetching the assigned milestone of the selected merge_request.
Resolve #3347842 "Deprecate the trusted"
7 unresolved threads
Closes #3347842
Merge request reports
Activity
141 162 * 142 163 * @param array $names 143 164 * List of names of configuration objects. 144 * @param bool $immutable 165 * @param string $class 145 166 * (optional) Create an immutable configuration objects. Defaults to TRUE. 146 167 * 147 168 * @return \Drupal\Core\Config\Config[]|\Drupal\Core\Config\ImmutableConfig[] 148 169 * List of successfully loaded configuration objects, keyed by name. 149 170 */ 150 protected function doLoadMultiple(array $names, $immutable = TRUE) { 171 protected function doLoadMultiple(array $names, $class = TRUE) { 94 111 * 95 112 * @param string $name 96 113 * The name of the configuration object to construct. 97 * @param bool $immutable 114 * @param string $class - Edited by Andrey Postnikov
141 162 * 142 163 * @param array $names 143 164 * List of names of configuration objects. 144 * @param bool $immutable 165 * @param string $class - Edited by Andrey Postnikov
282 308 * 283 309 * @param string $name 284 310 * The name of the configuration object. 285 * @param bool $immutable 286 * Whether or not the object is mutable. 311 * @param string $class - Edited by Andrey Postnikov
400 431 * 401 432 * @param string $name 402 433 * Configuration object name. 403 * @param bool $immutable 434 * @param bool $class 404 435 * Determines whether a mutable or immutable config object is returned. 405 436 * 406 437 * @return \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig 407 438 * The configuration object. 408 439 */ 409 protected function createConfigObject($name, $immutable) { 410 if ($immutable) { 411 return new ImmutableConfig($name, $this->storage, $this->eventDispatcher, $this->typedConfigManager); 440 protected function createConfigObject($name, $class) { 28 28 * 29 29 * @param string $name 30 30 * The name of the configuration object to construct. 31 * @param string|null $class 32 * The class to use for creating the config object. 31 33 * 32 34 * @return \Drupal\Core\Config\Config 33 35 * A configuration object. 34 36 */ 35 public function getEditable($name); 37 public function getEditable($name, ?string $class = NULL); added 1853 commits
-
4e7fe1e7...b6aef35b - 314 commits from branch
project:10.1.x
- b6aef35b...db132d85 - 1529 earlier commits
- 0697c814 - Issue #3334920 by Spokje, smustgrave: Remove references to modernizer
- 803fa695 - Issue #3414172 by quietone: In update module convert comments to use install/uninstall
- 5c1a7945 - Deprecations
- 21eef309 - Add change record
- e5ff4b31 - Add a special service for the installer so config is written using schema
- c69fb157 - Use InstallerTypedConfig during updates too - probably needs a rename
- ff18267d - Remove use of deprecated code
- 1e95ce7e - Add different approach that still allows one-off choices - might need to...
- cf5065b3 - Use the NoSchemaConfig class where appropriate
- 381266ca - update deprecation to 10.3
Toggle commit list-
4e7fe1e7...b6aef35b - 314 commits from branch
Created MR for 11.x meantime !6928
Please register or sign in to reply