halcyon.datasource.db.beforeGetAvailablePaths

Halting event called before the cache of what paths are available in the DB is built

Example usage:

$datasource->bindEvent('halcyon.datasource.db.beforeGetAvailablePaths', function () use ($datastore) { return ['path/to/file/that/exists' => true, 'path/to/file/that/is/deleted' => false]; });

Usage

Globally

use Event;

Event::listen('halcyon.datasource.db.beforeGetAvailablePaths', function () {
    // Your event listener code goes here...
});

Triggers

Copyright © 2024 Winter CMS