This module depends on the colorbox module.
The colorbox load option was separated from the main module. However the current colorbox load module has other dependencies and took a slightly different direction.
This module follows the same path as it was in drupal 7.
Example
HTML:
<a href="/example.html" class="colorbox-load">View</a>
Code:
$url = Url::fromUri('internal:/example.html');
$link = Link::fromTextAndUrl(t('View'), $url);
$output = $link->toRenderable();
$output['#attributes']['class'] = [
'colorbox-load',
];
colorbox_simple_load_page_attachments($output);
Supporting organizations:
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content display, Developer tools, Integrations
1,042 sites report using this module
- Created by mr.york on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
