2019-04-02 14:17:01 +02:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* SET THE HOOKS TO ENABLE THE MAGIC OF STRAPI.
|
|
|
|
* -------------------------------------------
|
|
|
|
*
|
|
|
|
* Secure, customise and enhance your project by setting
|
|
|
|
* the hooks via this file.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-04-18 19:54:21 +02:00
|
|
|
import didGetSecuredData from './lifecycles/didGetSecuredData';
|
|
|
|
|
|
|
|
function lifecycles() {
|
2019-04-02 14:17:01 +02:00
|
|
|
// Set hooks for the AdminPage container.
|
|
|
|
// Note: we don't need to specify the first argument because we already know what "willSecure" refers to.
|
|
|
|
this.setHooks({
|
2019-04-18 19:54:21 +02:00
|
|
|
didGetSecuredData,
|
2019-04-02 14:17:01 +02:00
|
|
|
});
|
2019-04-18 19:54:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export default lifecycles;
|