Loading README.md +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ code comments on `example_tabs.component.yml` for details. name: Widget machine_name: widget type: component core_version_requirement: ^8 || ^9 core_version_requirement: '>=9.3' js: widget.js: {} css: Loading component.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,4 +2,4 @@ name: Component type: module description: 'Easily add JS components to Drupal as blocks, with only a single yml file.' package: Component core_version_requirement: ^8 || ^9 core_version_requirement: '>=9.3' component.services.yml +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ services: component.discovery: class: \Drupal\Component\ComponentDiscovery arguments: - '@app.root' - '%app.root%' - '@module_handler' - '@theme_handler' - '@logger.channel.component' Loading composer.json +2 −5 Original line number Diff line number Diff line Loading @@ -14,8 +14,5 @@ "issues": "https://drupal.org/project/issues/component", "source": "https://git.drupalcode.org/project/component" }, "license": "GPL-2.0-or-later", "minimum-stability": "dev", "require": { } "license": "GPL-2.0-or-later" } modules/component_example/component_example.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,6 @@ name: Component example type: module description: 'An example module with some sample components for reference.' package: Component core_version_requirement: ^8 || ^9 core_version_requirement: '>=9.3' dependencies: - component:component Loading
README.md +1 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ code comments on `example_tabs.component.yml` for details. name: Widget machine_name: widget type: component core_version_requirement: ^8 || ^9 core_version_requirement: '>=9.3' js: widget.js: {} css: Loading
component.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,4 +2,4 @@ name: Component type: module description: 'Easily add JS components to Drupal as blocks, with only a single yml file.' package: Component core_version_requirement: ^8 || ^9 core_version_requirement: '>=9.3'
component.services.yml +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ services: component.discovery: class: \Drupal\Component\ComponentDiscovery arguments: - '@app.root' - '%app.root%' - '@module_handler' - '@theme_handler' - '@logger.channel.component' Loading
composer.json +2 −5 Original line number Diff line number Diff line Loading @@ -14,8 +14,5 @@ "issues": "https://drupal.org/project/issues/component", "source": "https://git.drupalcode.org/project/component" }, "license": "GPL-2.0-or-later", "minimum-stability": "dev", "require": { } "license": "GPL-2.0-or-later" }
modules/component_example/component_example.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,6 @@ name: Component example type: module description: 'An example module with some sample components for reference.' package: Component core_version_requirement: ^8 || ^9 core_version_requirement: '>=9.3' dependencies: - component:component