@@ -151,7 +151,7 @@ |
||
| 151 | 151 | * @param string $paragraph_uuid |
| 152 | 152 | * The uuid of the paragraph to be retrieved. |
| 153 | 153 | * |
| 154 | - * @return \Drupal\paragraphs\ParagraphInterface|null |
|
| 154 | + * @return \Drupal\Core\Entity\EntityInterface|null |
|
| 155 | 155 | * The retrieved paragraph, or NULL if no such paragraph could be found. |
| 156 | 156 | */ |
| 157 | 157 | protected function getParagraph($paragraph_uuid) { |
@@ -9,9 +9,9 @@ |
||
| 9 | 9 | use Drupal\paragraphs_editor\EditorCommand\CommandContextFactoryInterface; |
| 10 | 10 | use Drupal\paragraphs_editor\EditorFieldValue\FieldValueManagerInterface; |
| 11 | 11 | use Drupal\paragraphs_editor\EditorFieldValue\ParagraphsEditorElementTrait; |
| 12 | +use Drupal\paragraphs_editor\Utility\TypeUtility; |
|
| 12 | 13 | use Drupal\paragraphs_editor\WidgetBinder\WidgetBinderData; |
| 13 | 14 | use Drupal\paragraphs_editor\WidgetBinder\WidgetBinderDataCompilerInterface; |
| 14 | -use Drupal\paragraphs_editor\Utility\TypeUtility; |
|
| 15 | 15 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 16 | 16 | |
| 17 | 17 | /** |