Skip to content
Snippets Groups Projects

Resolve #3410943 "Drupal 10.2 compatibility"

Files
4
@@ -3,6 +3,7 @@
namespace Drupal\component_connector;
use Drupal\Component\Utility\NestedArray;
use Drupal\component_connector\Plugin\Layout\ComponentConnectorLayout;
use Drupal\Core\Config\ConfigFactoryInterface;
use Drupal\Core\Extension\ThemeHandlerInterface;
use Drupal\Core\File\FileSystemInterface;
@@ -357,7 +358,7 @@ class ComponentConnectorManager {
$definition = [
'label' => $pattern_definition['label'],
'category' => 'Layouts',
'class' => '\Drupal\component_connector\Plugin\Layout\ComponentConnectorLayout',
'class' => ComponentConnectorLayout::class,
'path' => $path_parts['dirname'],
'theme_hook' => $pattern_definition['hook theme'],
'provider' => 'component_connector',
Loading