- Issue created by @abramm
- πΊπ¦Ukraine abramm Lutsk
abramm β changed the visibility of the branch 3535809-incorrect-library-attachment to hidden.
- πΊπ¦Ukraine abramm Lutsk
abramm β changed the visibility of the branch 3535809-incorrect-library-attachment to active.
- πΊπ¦Ukraine abramm Lutsk
Turned out the library is already correctly attached in the block code:
$pcp_markup = [ ... '#attached' => [ 'library' => ['pcp/pcp.block'], ], ]; return $pcp_markup;
The library name in the
info.yml
file is incorrect (pcp/pcp-block instead of pcp/pcp.block), which explains why grepping didn't show anything for me.So it's just two lines in the info.yml file which should be removed.
- Merge request !9Issue #3535809: Incorrect library attachment in pcp.info.yml file β (Open) created by abramm