Format of callback arguments in YAML files

For instance, for the Filter module, in filter.permissions.yml, custom permissions are defined:

permission_callbacks:
  - DrupalfilterFilterPermissions::permissions

That looks like a static function, but it isn’t. How does that work? Is the format for this kind of callback argument documented or defined anywhere?


Go to Source of this post
Author Of this post: brad.bulger
Title Of post: Format of callback arguments in YAML files
Author Link: {authorlink}