What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-27 16:36:02
drupal 9 custom blocks dependency injection
/** * @file * Contains \Drupal\mymod\Plugin\Block\MyModMyStoreProductsStatusBlock */ namespace Drupal\mymod\Plugin\Block; use Drupal\Core\Block\BlockBase; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Drupal\mymod\StoreService; use Symf... Add solution
Best helpers
Ranking is empty