Install
Works with Drupal: ^10.2 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
What's new in 1.1.0
Block plugin
Angular components can now be placed anywhere on a Drupal site via Structure → Block layout, without requiring an entity context. Every component declaring presentation: angular is automatically exposed as a placeable block via PdbAngularBlockDeriver. The block attaches the shared Angular runtime and wires per-instance configuration into drupalSettings, mirroring the entity display path.
Development mode
A new Development mode checkbox on the settings form (/admin/config/pdb/angular-entity) controls console logging in the Angular runtime. When enabled, a [PDB Angular] console group is logged per component instance with its element tag, module path, and resolved properties. Defaults to enabled; disable for production.
Bug fixes and hardening
- Fixed "Extension pdb_angular does not exist" warning —
hook_library_info_alter()strips the orphanedpdb_angular/angularlibrary dependency added by PDB's discovery forpresentation: angularcomponents, guarded so sites withpdb_angularinstalled are unaffected. - Fixed config schema warnings —
pdb_configurationnow usestype: ignore(null-safe), derived block plugin IDs resolved viablock.settings.pdb_angular_entity_component:*wildcard. - Coding standards — 0 errors under
phpcs --standard=Drupal.
Upgrade path from 1.0.0
No database updates required. Run drush cr after updating. If you export config, re-run drush cex to capture the updated schema.