Intercept requests

Hello

Is there a hook available or a module that can intercept page requests to then be able to write custom code for? Instead of the natural page load I want to stop the load and then write custom responses.

Thanks

Change "label" variable

The twig template (named node--research.html.twig) has the following code

<h1 class="h1 content-section__title">{{ label }}</h1>

Activity Finder for YMCA of the North

Product History

Activity Finder is a product that has come a long way. It was created by a group of professionals from IT Care and YMCA of the North. And the period of its improvement from the initial form to the last update takes almost 3 years.

Why so long? And what path has the Activity Finder taken to be the way we can see it now?

Sectors: 
Healthcare
Localization
Non-profit
Sports
Urban planning

How to use global $title_suffix and $title_prefix in Drupal 8 ?

Hi guys, 

I'm converting my Drupal 7 code to Drupal 8 and in Drupal 7 I'm using global $title_suffix variable so how can I use this variable in Drupal 8. 

Please help me. 

Thanks in advance.

Trying to add a class in Drupal 8 container

Hi Guys,

I'm trying to add the attribute class in Drupal 8 container but it is not working. 

My code:

$form['select'] = array(
      '#type' => 'container',
      '#attributes' => array(
        'class' => 'table-selector-caption',
      ),
    );

Please help me.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x