Hi Larry, On Apr 30, 2016 6:48 AM, "Larry Garfield" <la...@garfieldtech.com> wrote: > > Most of the examples that have been given so far are either trivial boolean flags or data validation rules to be evaled. In practice, very little of Drupal's use of annotations in Drupal 8 fit either category. Rather, they're used primarily as, in essence, a serialized metadata object describing a class, which is used for registering that class and potentially others. I figured I'd give the proposed syntax a try with some Drupal examples and see how well it fit.
> Disclaimer: I'm sure someone will pipe up with "your use case is invalid because you shouldn't be using annotations that way." What I would like to say yes. Very very loudly. But I am not sure about what is what or what defined what in your complex example Do you have a link to the source file so I can make an informed reply please?