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.
I see this in calendar_theme in calendar.module : line 222.
$base = array(
'file' => 'theme.inc',
'path' => "$module_path/theme",
);
Im a beginner and i don't understand why it's not :
$base = array(
'file' => 'theme.inc',
'path' => $module_path . '/theme',
);
code error or normal ??
Thanks.
Comments
Comment #1
apadernoIt's not an error:
"$module_path/theme"
and$module_path . '/theme'
produce the same string, but the first is usually preferred.