new: [organisation] Added `notifyAdmin` behavior.

Might be removed later on if needed
pull/121/head
Sami Mokaddem 2022-10-27 10:14:57 +02:00
parent d0119b2dba
commit 225913f9c6
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ class OrganisationsTable extends AppTable
$this->addBehavior('Timestamp');
$this->addBehavior('Tags.Tag');
$this->addBehavior('AuditLog');
$this->addBehavior('NotifyAdmins', [
'fields' => ['uuid', 'name', 'url', 'nationality', 'sector', 'type', 'contacts', 'modified', 'meta_fields'],
]);
$this->hasMany(
'Alignments',
[