How to check if node is (promoted, sticky, in_moderation) in custom_module_preprocess_node

In

function custom_module_preprocess_node(&$variables) {

I have a content type 

$variables['node']->getType() == 'bookmark') && $variables['view_mode'] == 'full'

and I want to check if the node is "promoted, sticky or in_moderation".

https://prnt.sc/wnfxo0

How do I do this?

I tried several ways with no luck

How to show breadcrumbs

I have installed the module 'Easy Breadcrumbs' on the site www.seniorama.one.

But it is not working as it should.

Which settings do I have to change?

Howto create an image gallery in Drupal 8

I want to create an image gallery like this one: https://www.seniorama.be/uitdeoudedoos

I have installed Colorbox and IMCE.

I did everything from this document: https://www.ostraining.com/blog/drupal/drupal-8-responsive-colorbox-gall...

This is what I already have: https://www.seniorama.one/en/Uitdeoudedoos

A headless application for a car scrapping service

About the client

Scrapi is operating in the UK and its main goal is pretty humanistic: it collects and recycles used and old cars, and pays car owners for that. A user needs to send a request on a website and then Scrapi’s employees stop by, take the car and give the calculated compensation.

You'll definitely like the technical stack of this headless Drupal project. See what ADCI Solutions did below. 

Sectors: 
Startups

Open Y Sandboxes

Sandboxes index page

For the non-technical savvy community visual representation of technology is essential.

Developers used to understand technology even from code, but when it comes to business - UX demo is a key.

In order to deliver technology for Open Y community, which is the technology heart of the YMCA community in United States and abroad, Open Y core team maintains about a hundred sandboxes, nightly/hourly rebuilt for the stakeholders and strategists to plan their improvements.

Sectors: 
Community
Enterprise
Non-profit
Technology

Hide the disable languages from content feeding backend page

I have multiple language of site. with disable language module https://www.drupal.org/project/disable_language. I disable two language EN and DE. rest RO (Romania) and RU(Russian) language are enable

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x