Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...
The example code given for ModuleHandler::loadInclude()
is the following one.
// Load node.admin.inc from the node module.
$this->loadInclude('node', 'inc', 'node.admin');
// Load content_types.inc from the node module.
$this->loadInclude('node', 'inc', ''content_types');
''content_types'
starts with two string delimiters.
Comment | File | Size | Author |
---|---|---|---|
#2 | fix-example-2885522-2.patch | 699 bytes | apaderno |
Comments
Comment #2
apadernoComment #3
tetranz CreditAttribution: tetranz at Third and Grove commentedLooks good to me. Applied successfully.
Comment #4
Wim Leers👍
Comment #7
Gábor HojtsyGood find, thanks.