Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
experience_builder
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
experience_builder
Merge requests
!581
Issue
#3498889
: Add component source plugin
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3498889
: Add component source plugin
issue/experience_builder-3498889:3498889-component-source-plugin
into
0.x
Overview
89
Commits
83
Pipelines
67
Changes
4
Merged
Lee Rowlands
requested to merge
issue/experience_builder-3498889:3498889-component-source-plugin
into
0.x
1 week ago
Overview
16
Commits
83
Pipelines
67
Changes
4
Expand
Closes
#3498889
Astro island element
Asset controller integration
hook libraries integration
Edited
6 days ago
by
Lee Rowlands
0
0
Merge request reports
Viewing commit
e131aa03
Show latest version
4 files
+
209
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
e131aa03
Introduce a new `ComponentSource` plugin: `JsComponent`.
· e131aa03
Wim Leers
authored
6 days ago
src/ComponentSource/ComponentSourceInterface.php
+
5
−
3
Options
@@ -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