Function Hook_block_ui_renderers_polls->render_block_ui_parameter_hidden
Definitions
sources/hooks/systems/block_ui_renderers/polls.php
- See if a particular block parameter's UI input can be handled as a hidden field.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$block | ID_TEXT | required parameter | N/A | N/A | The block |
$parameter | ID_TEXT | required parameter | N/A | N/A | The parameter of the block |
$has_default | boolean | required parameter | N/A | N/A | Whether there is a default value for the field, due to this being an edit |
$default | string | required parameter | N/A | N/A | Default value for field |
Return
- Rendered field (null: not handled)
- Type: ?Tempcode
- Set: N/A
- Range: N/A