@@ -133,6 +133,7 @@ discard block |
||
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | 135 | * {@inheritdoc} |
| 136 | + * @param string $menu_name |
|
| 136 | 137 | */ |
| 137 | 138 | public function loadMenuItemByTitle($menu_name, $title) { |
| 138 | 139 | $items = \Drupal::entityTypeManager()->getStorage('menu_link_content') |
@@ -337,7 +338,7 @@ discard block |
||
| 337 | 338 | * @param array $values |
| 338 | 339 | * Entity values. |
| 339 | 340 | * |
| 340 | - * @return \Drupal\Core\Entity\EntityInterface |
|
| 341 | + * @return string |
|
| 341 | 342 | * Entity object. |
| 342 | 343 | */ |
| 343 | 344 | protected function getStubEntity($entity_type, array $values) { |