Taitava\CMSEditLink\CMSEditLink::hereon
This is the opposite of via(). See the documentation of that method for more information.
TODO: Give this method a better name. Something descriptive but short and nice like the via() method has.
Signature
public function hereon(DataObject|CMSEditLink
$data_object_or_link,
string
$relation_name )
Parameters
$data_object_or_link
— object
$relation_name
— string- A has_one/has_many/many_many/belongs_to/belongs_many_many relation name. Note that this should be the name of the relation that the current DataObject uses when referring to the given $data_object_or_link. See the example in via().
Returns
- CMSEditLink