New answers tagged

0 votes

Editing block to update/remove menu items

The edit/delete links you are seeing are probably links for the block the menu is embedded in, not links for the menu itself. If the menu is built as a Drupal menu - usually they are, but everyone has ...
Jaypan's user avatar
  • 17.6k
0 votes

Can I put taxonomy tags in a block and if I can, how to prevent them from appearing in a field of a node?

You can move them around "like a block" with Layout Builder, which is included in core. The positioning will still be within the content region, but it can be anywhere in the content region,...
Patrick Kenny's user avatar
2 votes

Get block_content from block

@4uk4's comment on the original problem pointed me to a better answer: $block_plugin = $block->getPlugin(); $uuid = $block_plugin->getDerivativeId() ? $block_plugin->getDerivativeId() : ''; ...
miwayha's user avatar
  • 31

Top 50 recent answers are included