You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ViewableData::Me() method just returns $this. It only exists as a way for the template layer to refer to the current item in scope. This should be moved into the template layer.
The
ViewableData::Me()
method just returns$this
. It only exists as a way for the template layer to refer to the current item in scope. This should be moved into the template layer.I originally did this as part of #11244 but I had to remove it (see https://github.com/silverstripe/silverstripe-framework/compare/f9e757a0a201799dbb1d2535c90e2cb309982026..29793a31415d01c4173cb560e7d97f399d270971) because it was causing some failures in the kitchen sink.
Acceptance criteria
Me()
method is refactored to not rely on that method.ViewableData::Me()
method is removed$Me
in a template behaves identically to how it currently doesThe text was updated successfully, but these errors were encountered: