Metadata events¶
Events in the metadata group. A plugin in core/plugins/metadata/ receives an event by defining a public method with the event's name; the arguments are those the call site passes, in order.
metadata.onFileMove¶
Fired from:
core/plugins/projects/files/connections.php:1333with[$oldName, $item->getAbsolutePath()]core/plugins/projects/files/connections.php:1424with[$oldName, $entity->getAbsolutePath()]
Listeners:
plg_metadata_local—onFileMove($old, $new)
metadata.onMetadataEdit¶
Fired from:
No plugin in the source tree listens for this event.
metadata.onMetadataGet¶
Fired from:
core/components/com_projects/api/controllers/filefsv1_0.php:948with[$entity]core/components/com_projects/api/controllers/filefsv1_0.php:1036with[$entity]core/components/com_projects/api/controllers/filesv1_0.php:1176with[$entity]core/components/com_projects/api/controllers/filesv1_0.php:1271with[$entity]core/plugins/projects/files/connections.php:1539with[$entity]
Listeners:
plg_metadata_local—onMetadataGet(Hubzero\Filesystem\File $file, $maxEntries = 1)
metadata.onMetadataSave¶
Fired from:
core/components/com_projects/api/controllers/filefsv1_0.php:1039with[$entity, array_merge($oldmetadata, $metadata)]core/components/com_projects/api/controllers/filesv1_0.php:1274with[$entity, array_merge($oldmetadata, $metadata)]core/plugins/projects/files/connections.php:1601with[ $entity, $metadata ]
Listeners:
plg_metadata_local—onMetadataSave(Hubzero\Filesystem\File $file, $metadata)
Generated from the source tree.