using drupal_static() in render

In the theming forum I've been trying to build an array of block attributes using theme_preprocess_page() which makes sense in that I need to know what blocks, how many and position are in a region of a given page. I've offloaded the logic to a support function and I have a lovely array in $variables['page']['highlighted']. Except they must be brought into theme_preprocess_block() and the two functions seem to be working in parallel. Only to meet up in the final render.

custom an input form

Hello,

I'm using bootstrap as a theme but I don't like the suffix of the bar search of an exposed field so I want to custom it.

I used {{ kint(suffix)}} in the input--form--control.html.twig and I got this :

'#value' =>Drupal\Core\Render\Markup(1)

protected string ->string(111) "<span class="icon glyphicon glyphicon-refresh ajax-progress ajax-progress-throbb..."

So I would like to set the span class...

I tried to work with preprocess function like this :

How do I install Drush or Composer via GIT?

Hello, I am a noob.

Searched everywhere but can't find the solution..

I want to update library's, therefore I wanna use drush or composer.

I installed GIT with Pantheon but I can't seem to use any drush commands..

Please help.

Ashday.com Decoupled Drupal 8 Rebuild

Ashday.com on a monitor and phone

Ashday has been building diverse web experiences for over 20 years now, leveraging a lot of technologies and approaches as the web has continued to evolve. We’ve been heavily using Drupal for many of our web projects for years now and we’ve never looked back from that decision to adopt it. We started with Drupal 6, moved heavy into Drupal 7, and adopted Drupal 8 as soon as the project was reasonably stable. After having our site built on Drupal 8 for a while, we realized that we could do more if we took it a step further and ran a decoupled Drupal 8 site.

Sectors: 
Technology

After enabling HTTPS I lost all the traffic on my website

After I enabled HTTP redirect to HTTPS  I lost all my traffic.....it has been more than 1 week and I get no more traffic.

Before I got 50 visits per day.....

I really dont know what is going on, site seems to be working fine......all urls with HTTP get redirected to HTTPS immediately

did I do something weird cause google just ignores my site....it reindexed it, I added HTTPS sitemap in google developer console but still nothing is going on....

Google claimed that SEO will improve if you switch to HTTPS version....but clearly something went wrong

How get protected parameters in twig?

How get protected parameters in twig?

I have paragraph and inner two paragraphes.

Module paragraphs.

Depence of what inner paragraph i want correct my div classes and css.

I want check what's paragraphs inner.

How can i get protected parameters?

I triyd like this.

Can you help me?

http://prntscr.com/kf9bd2

{{ kint(content['field_our_plus']['0']['#paragraph'])['values'] }}

But after this i take NULL

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x