Loading publication_date.tokens.inc +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ function publication_date_token_info_alter(&$data) { /** * Implements hook_tokens(). */ function publication_date_tokens($type, $tokens, array $data = array(), array $options = array(), BubbleableMetadata $bubbleable_metadata) { function publication_date_tokens($type, $tokens, array $data, array $options, BubbleableMetadata $bubbleable_metadata) { $tokenService = \Drupal::token(); $dateFormatter = \Drupal::service('date.formatter'); Loading Loading
publication_date.tokens.inc +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ function publication_date_token_info_alter(&$data) { /** * Implements hook_tokens(). */ function publication_date_tokens($type, $tokens, array $data = array(), array $options = array(), BubbleableMetadata $bubbleable_metadata) { function publication_date_tokens($type, $tokens, array $data, array $options, BubbleableMetadata $bubbleable_metadata) { $tokenService = \Drupal::token(); $dateFormatter = \Drupal::service('date.formatter'); Loading