Skip to content

Instantly share code, notes, and snippets.

@junaidpv
Created September 25, 2024 16:17
Show Gist options
  • Save junaidpv/cc71a5dfbc99056757b2b7811b519123 to your computer and use it in GitHub Desktop.
Save junaidpv/cc71a5dfbc99056757b2b7811b519123 to your computer and use it in GitHub Desktop.
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