Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
- Constructor of
ctools_context_required
class called incorrectly fromctools_context_optional
class. - Since we are progressive people and looking forward then let's get rid from obsolete
var
keyword.
Proposed resolution
- Use
call_user_func_array()
inctools_context_optional::__construct()
. - Replace/add
public
instead ofvar
statements.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | ctools-context_optional_fix_construct-2765135-2.patch | 5.11 KB | BR0kEN |
Comments
Comment #2
BR0kENComment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 3 year old patch to context.inc does not apply to the latest ctools 7.x-1.x-dev.
Comment #4
MustangGB CreditAttribution: MustangGB commented