Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jan 2016 at 17:01 UTC
Updated:
2 Mar 2016 at 02:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jhodgdonThanks for the issue!
So we can use the | syntax to say it's either object[] or Drupal\taxonomy\TermInterface[]. See
https://www.drupal.org/node/1354#types
for details. Should be a good Novice project.
Comment #3
miteshmapComment #4
miteshmapComment #5
jhodgdonYes, that looks right, thanks!
Comment #8
catchTheoretically changing the return value of the interface would be an API change. However in practice this return type depends on a parameter, so it's impossible to implement the interface as it's documented at the moment - the param and return docs are mutually exclusive. Additionally it's extremely unlikely anyone is implementing this in contrib or custom code.
Committed/pushed to 8.1.x and cherry-picked to 8.0.x. Thanks!