Unverified Commit b77d870b authored by alexpott's avatar alexpott

Issue #3018021 by tim.plunkett: Rename $id parameter to $type in SectionStorageManager

parent 1c35eada
......@@ -107,8 +107,8 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter
/**
* {@inheritdoc}
*/
public function loadEmpty($id) {
return $this->createInstance($id);
public function loadEmpty($type) {
return $this->createInstance($type);
}
/**
......
......@@ -45,8 +45,8 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter
/**
* Loads a section storage with no associated section list.
*
* @param string $id
* The ID of the section storage being instantiated.
* @param string $type
* The type of the section storage being instantiated.
*
* @return \Drupal\layout_builder\SectionStorageInterface
* The section storage.
......@@ -57,7 +57,7 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter
* collaborators of the plugins in build-time situations when section
* storage type must be consulted.
*/
public function loadEmpty($id);
public function loadEmpty($type);
/**
* Loads a section storage populated with an existing section list.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment