Commit bf92b0fd authored by Mark Dorison's avatar Mark Dorison Committed by Florian Weber
Browse files

Issue #3220692: Required parameter $bubbleable_metadata follows optional parameter

parent 957054e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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');