Created
September 25, 2024 16:17
-
-
Save junaidpv/cc71a5dfbc99056757b2b7811b519123 to your computer and use it in GitHub Desktop.
PHP 8.3 Compatibilty. https://www.drupal.org/project/mini_layouts/issues/3439585
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Plugin/Block/MiniLayout.php b/src/Plugin/Block/MiniLayout.php | |
index 7306a81c2b2ec5e49522661b4edd61ff2bc8d132..50576902abafc5a17a8e5b90ec75248423afdaf4 100644 | |
--- a/src/Plugin/Block/MiniLayout.php | |
+++ b/src/Plugin/Block/MiniLayout.php | |
@@ -24,6 +24,11 @@ use Drupal\Core\Plugin\Context\ContextRepositoryInterface; | |
*/ | |
class MiniLayout extends BlockBase implements ContextAwarePluginInterface, ContainerFactoryPluginInterface { | |
+ /** | |
+ * @var Drupal\Core\Entity\EntityTypeManagerInterface; | |
+ */ | |
+ protected $entityTypeManager; | |
+ | |
/** | |
* @var \Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment