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 ...@@ -107,8 +107,8 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function loadEmpty($id) { public function loadEmpty($type) {
return $this->createInstance($id); return $this->createInstance($type);
} }
/** /**
......
...@@ -45,8 +45,8 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter ...@@ -45,8 +45,8 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter
/** /**
* Loads a section storage with no associated section list. * Loads a section storage with no associated section list.
* *
* @param string $id * @param string $type
* The ID of the section storage being instantiated. * The type of the section storage being instantiated.
* *
* @return \Drupal\layout_builder\SectionStorageInterface * @return \Drupal\layout_builder\SectionStorageInterface
* The section storage. * The section storage.
...@@ -57,7 +57,7 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter ...@@ -57,7 +57,7 @@ public function findByContext(array $contexts, RefinableCacheableDependencyInter
* collaborators of the plugins in build-time situations when section * collaborators of the plugins in build-time situations when section
* storage type must be consulted. * storage type must be consulted.
*/ */
public function loadEmpty($id); public function loadEmpty($type);
/** /**
* Loads a section storage populated with an existing section list. * 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