Resolve #3490570 "Add array return"
2 unresolved threads
2 unresolved threads
Closes #3490570
Merge request reports
Activity
added 1 commit
added 1 commit
14 14 * Implements hook_field_views_data(). 15 15 */ 16 16 #[Hook('field_views_data')] 17 public function fieldViewsData(FieldStorageConfigInterface $field_storage) { 17 public function fieldViewsData(FieldStorageConfigInterface $field_storage):array { changed this line in version 5 of the diff
39 39 * Implements hook_field_views_data(). 40 40 */ 41 41 #[Hook('field_views_data')] 42 public function fieldViewsData(FieldStorageConfigInterface $field_storage) { 42 public function fieldViewsData(FieldStorageConfigInterface $field_storage): array { 43 43 \Drupal::state()->set('views_hook_test_field_views_data', TRUE);
Please register or sign in to reply