|
|
@ -184,12 +184,12 @@ drush ev "print_r(array_keys(\Drupal::service('plugin.manager.block')->getDefini |
|
|
|
```twig |
|
|
|
```twig |
|
|
|
{# Basic usage. #} |
|
|
|
{# Basic usage. #} |
|
|
|
<div class="contextual-region"> |
|
|
|
<div class="contextual-region"> |
|
|
|
{{ contextual_links('entity.view.edit_form:view=frontpage&display_id=feed_1') }} |
|
|
|
{{ drupal_contextual_links('entity.view.edit_form:view=frontpage&display_id=feed_1:') }} |
|
|
|
{{ drupal_view('frontpage') }} |
|
|
|
{{ drupal_view('frontpage') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{# Multiple links. #} |
|
|
|
{# Multiple links. #} |
|
|
|
<div class="contextual-region"> |
|
|
|
<div class="contextual-region"> |
|
|
|
{{ contextual_links('node:node=123|block_content:block_content=123') }} |
|
|
|
{{ drupal_contextual_links('node:node=123|block_content:block_content=123:') }} |
|
|
|
{{ content }} |
|
|
|
{{ content }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
``` |
|
|
|
``` |
|
|
|