class FileLink
Pre-processes variables for the "file_link" theme hook.
Plugin annotation
@BootstrapPreprocess("file_link",
replace = "template_preprocess_file_link"
)
Hierarchy
- class \Drupal\bootstrap\Plugin\PluginBase extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\bootstrap\Plugin\Preprocess\PreprocessBase implements PreprocessInterface
- class \Drupal\bootstrap\Plugin\Preprocess\FileLink
- class \Drupal\bootstrap\Plugin\Preprocess\PreprocessBase implements PreprocessInterface
Expanded class hierarchy of FileLink
Related topics
Namespace
Drupal\bootstrap\Plugin\PreprocessMembers
Name | Modifiers | Type | Description |
---|---|---|---|
FileLink:: |
public | function |
Preprocess the variables array. 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 if an element is present. |