cms.template.save
Fires after a CMS template (page|partial|layout|content|asset) has been saved.
Example usage:
Event::listen('cms.template.save', function ((\Cms\Controllers\Index) $controller, (mixed) $templateObject, (string) $type) {
\Log::info("A $type has been saved");
});
Or
$CmsIndexController->bindEvent('template.save', function ((mixed) $templateObject, (string) $type) {
\Log::info("A $type has been saved");
});
Usage
Triggers
Class or file | Line |
---|---|
Cms\Controllers\Index
|
246 |
Copyright © 2024 Winter CMS