Switch from Drupal module load Include to native PHP include once for Varbase Media Hero Slider to include all helpers and updates

Created on 4 December 2023, about 1 year ago
Updated 12 December 2023, about 1 year ago

Problem/Motivation

Follow up issue after
📌 Refactor updates for Varbase Media Hero Slider by moving hook updates to include/updates with load Include based on major branches Fixed

The \Drupal::moduleHandler()->loadInclude function operates slowly and necessitates the installation of the associated module to ensure proper formatting and logical functioning.

Proposed resolution

Change to

// Include all helpers and updates.
include_once __DIR__ . '/includes/helpers.inc';
include_once __DIR__ . '/includes/updates.inc';

Remaining tasks

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3406025 : Switched from Drupal module load Include to native PHP include once for Varbase Media Hero Slider to include all helpers and updates
📌 Task
Status

Fixed

Version

10.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024