Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • index: Redirect to the index for the model, filtered by the Primary Link
  • primaryLink: Redirect to the Primary Link entity
  • self: Re-render the same form

Declaring Primary Links to Plugins

Primary Links can be declared to Plugin models (for example, the a Plugin defines secondary models to a Primary Plugin model) using the notation Plugin.foreign_key_id. Note that this is the physical plugin name and not the Entry Point Model. The foreign key ID will be inflected to get the Model name. For example, $this->setPrimaryLink('CoreAssigner.format_assigner_id'); will declare the primary link to be to CoreAssigner.FormatAssigners::id.

Models / Tables

Accessing Models / Tables

...