Skip to content
Snippets Groups Projects

Issue #3498889: Add component source plugin

4 files
+ 209
5
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -60,10 +60,12 @@ interface ComponentSourceInterface extends PluginInspectionInterface, Derivative
public function getComponentPluginDefinition(): array;
/**
* Gets the component plugin.
* Gets the underlying component instance.
*
* @return \Drupal\Core\Plugin\Component|\Drupal\Core\Block\BlockPluginInterface
* The component plugin definition.
* @return \Drupal\Core\Plugin\Component|\Drupal\Core\Block\BlockPluginInterface|\Drupal\experience_builder\Entity\JavaScriptComponent
* The underlying component instance, which can originate from a myriad of
* sources: Drupal plugins, Drupal config entities, local files, remote
* APIs, etc.
*
* @todo Decide what to do about the return type here
*/
Loading