Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Colorbox simple load

Security covered Maintenance fixes only 769 sites

Part of the Colorbox ecosystem · 7 projects

This module provides a simplified way to create Colorbox popups that load external content, similar to the functionality in Drupal 7, without the extra dependencies of the current Colorbox Load module. It allows you to easily trigger Colorbox popups by adding a specific class to links or by programmatically generating them.

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="https://www.drupal.org/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);
Drupal 9–11

Ask your assistant about Colorbox simple load

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2023
Latest release
3 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.2.x-dev Dev 10–11 Jun 19, 2026
2.1.1 Stable 9–11 Jun 11, 2026
2.1.x-dev Dev 9–11 Oct 3, 2025
2.1.0 Stable 9–10 Mar 21, 2023