drupal - How to get and set the delta value? -
How can I affect the delta parameter value? Where can this be set?
I am beginning with Drupal, but I know my way around PHP and other CMS apps eg Joomla I have worked on my first Drupal module and need to create a module with multiple blocks. I know how to switch based on the $ op parameter, but the delta value always seems to be the default value defined in the function declaration
which block I can choose to process and display Am I $ Delta can be set so that the delta can be used to switch to other block view using the module colonization?
Thanks in advance.
is used to define another displayed block. When you are producing data for $ op = 'list'
, define the delta, it is sent back to the hook when it is for $ op = 'view' Is called
.
$ Delta Logic Therefore whatever you define if you define the red, green and blue colors in your list array that the block is displayed then what will it pass?
See if MiB will help you
Comments
Post a Comment