class ImageWidget
Pre-processes variables for the "image_widget" theme hook.
Plugin annotation
@BootstrapPreprocess("image_widget",
replace = "template_preprocess_image_widget"
)
Hierarchy
- class \Drupal\bootstrap\Plugin\PluginBase extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\bootstrap\Plugin\Preprocess\PreprocessBase implements PreprocessInterface
- class \Drupal\bootstrap\Plugin\Preprocess\ImageWidget implements PreprocessInterface
- class \Drupal\bootstrap\Plugin\Preprocess\PreprocessBase implements PreprocessInterface
Expanded class hierarchy of ImageWidget
See Also
Related topics
Namespace
Drupal\bootstrap\Plugin\PreprocessMembers
Name | Modifiers | Type | Description |
---|---|---|---|
ImageWidget:: |
public | function |
Preprocess the variables array if an element is present. Overrides PreprocessBase:: |
PluginBase:: |
protected | property | The currently set theme object. |
PluginBase:: |
public | function | |
PreprocessBase:: |
protected | property | The theme hook invoked. |
PreprocessBase:: |
protected | property | The theme hook info array from the theme registry. |
PreprocessBase:: |
protected | property | The Variables object. |
PreprocessBase:: |
public | function |
Preprocess theme hook variables. Overrides PreprocessInterface:: |
PreprocessBase:: |
protected | function | Ensures all attributes have been converted to an Attribute object. |
PreprocessBase:: |
protected | function | Converts any set description variable into a traversable array. |
PreprocessBase:: |
protected | function | Preprocess the variables array. |