Timeline for What is the programmatic equivalent of block save?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 1, 2016 at 21:26 | answer | added | August1914 | timeline score: 1 | |
Jun 29, 2016 at 22:54 | history | edited | August1914 | CC BY-SA 3.0 |
added 618 characters in body
|
Jun 29, 2016 at 18:11 | comment | added | Beebee |
In Drupal 7, blocks have "Bases" and "Instances" so to speak. hook_block_info , hook_block_save , hook_block_configure etc only provide the "base" to Drupal. These blocks you create won't get placed anywhere on the theme, until you configure the "instance". So through "Structure > Blocks" (or via different contrib module interfaces) you manage the "Instances" if you know what I mean. There's currently no easy way (a.k.a API) to manage the "instances" through code afaik
|
|
Jun 29, 2016 at 18:05 | answer | added | Beebee | timeline score: 0 | |
Jun 29, 2016 at 17:56 | history | edited | avpaderno♦ | CC BY-SA 3.0 |
improved grammar and formatting
|
Jun 29, 2016 at 16:57 | history | asked | August1914 | CC BY-SA 3.0 |