Details
Description
A plugin can define actions via ::getActions, however, it is limited to only allowing a specific action to be defined once per plugin due to the structure of the primary key set on the `plugin_actions` table.
For example, a plugin cannot currently define multiple primary navigation elements (e.g. to the "nav_primary_staff" action) because of this limitation.
We should consider changing the primary key for `plugin_actions` to an ID or including the URI in it. Functionality has to be updated to support this change, so some methods will probably be deprecated because of the update.
See http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/