public function DateRecurCachedHooks::hookTheme in Recurring Dates Field 3.x
Same name and namespace in other branches
- 8.2 src/DateRecurCachedHooks.php \Drupal\date_recur\DateRecurCachedHooks::hookTheme()
- 3.0.x src/DateRecurCachedHooks.php \Drupal\date_recur\DateRecurCachedHooks::hookTheme()
- 3.1.x src/DateRecurCachedHooks.php \Drupal\date_recur\DateRecurCachedHooks::hookTheme()
Implements hook_theme().
See also
File
- src/
DateRecurCachedHooks.php, line 38
Class
- DateRecurCachedHooks
- Defines hooks that run when caches need to be rebuilt.
Namespace
Drupal\date_recurCode
public function hookTheme(array $existing, string $type, string $theme, string $path) : array {
return [
'date_recur_basic_widget' => [
'render element' => 'element',
],
'date_recur_settings_frequency_table' => [
'render element' => 'element',
],
'date_recur_basic_formatter' => [
'variables' => [
'date' => NULL,
'interpretation' => NULL,
'is_recurring' => FALSE,
'occurrences' => [],
],
],
];
}