Problem/Motivation

Currently the library binding of youtubechannel/youtubechannel is added in hook_page_top.
It is more effective to bind the library where it is going to be used.
In our case the theme/template.

Proposed resolution

Move attaching the library from hook_page_top to the block plugin render array.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sunlix created an issue. See original summary.

sunlix’s picture

Status: Active » Needs review
i-trokhanenko’s picture

Status: Needs review » Reviewed & tested by the community

i-trokhanenko’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.