Skip to main content
Bumped by Community user
removed tags from the title
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How do I programmatically remove blocksa block?

Tweeted twitter.com/StackDrupal/status/1105121354460876802
removed tags from title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Drupal 8: How do youI programmatically remove blocks?

I have a custom module that is intended to be deployed as a pure web view, with no styling whatsoever beyond what I created in the .twig file.

I installed the Stark theme and in my local instance I went to Admin > Structure > Block layoutAdmin > Structure > Block layout to manually remove all the active blocks.

However, this module will be deployed and I will have to have it programmatically remove all blocks when integrated into the mobile client.

Is there a way to turn off any automatic/default activation of blocks?

Drupal 8: How do you programmatically remove blocks?

I have a custom module that is intended to be deployed as a pure web view, with no styling whatsoever beyond what I created in the .twig file.

I installed the Stark theme and in my local instance I went to Admin > Structure > Block layout to manually remove all the active blocks.

However, this module will be deployed and I will have to have it programmatically remove all blocks when integrated into the mobile client.

Is there a way to turn off any automatic/default activation of blocks?

How do I programmatically remove blocks?

I have a custom module that is intended to be deployed as a pure web view, with no styling whatsoever beyond what I created in the .twig file.

I installed the Stark theme and in my local instance I went to Admin > Structure > Block layout to manually remove all the active blocks.

However, this module will be deployed and I will have to have it programmatically remove all blocks when integrated into the mobile client.

Is there a way to turn off any automatic/default activation of blocks?

Source Link
oaklandj
  • 141
  • 1
  • 3

Drupal 8: How do you programmatically remove blocks?

I have a custom module that is intended to be deployed as a pure web view, with no styling whatsoever beyond what I created in the .twig file.

I installed the Stark theme and in my local instance I went to Admin > Structure > Block layout to manually remove all the active blocks.

However, this module will be deployed and I will have to have it programmatically remove all blocks when integrated into the mobile client.

Is there a way to turn off any automatic/default activation of blocks?