- π¦πΊAustralia acbramley
I don't think we should depend on the module, instead we should add defense to when those keys don't exist.
lb_claro_theme_registry_alter() relies upon Drupal core views module's hook_theme implementation to re-use its theme registry for the following new items
$theme_registry['views_view__media_library__widget'] = $theme_registry['views_view'];
$theme_registry['views_view__media_library__widget']['template'] = 'views-view--media-library';
$theme_registry['views_view__media_library__widget']['path'] = $lb_claro_path;
$theme_registry['views_view__media_library__widget_table'] = $theme_registry['views_view'];
$theme_registry['views_view__media_library__widget_table']['template'] = 'views-view--media-library';
$theme_registry['views_view__media_library__widget_table']['path'] = $lb_claro_path;
$theme_registry['views_view_unformatted__media_library'] = $theme_registry['views_view_unformatted'];
$theme_registry['views_view_unformatted__media_library']['template'] = 'views-view-unformatted--media-library';
$theme_registry['views_view_unformatted__media_library']['path'] = $lb_claro_path;
* Install Drupal using the minimal (without views module)
* Enable the LB Claro module
* Observe php notices
Add drupal:views as a module dependency to issue necessary theme registry items are present.
* Patch
Needs work
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I don't think we should depend on the module, instead we should add defense to when those keys don't exist.