mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Add a new Fieldtype::savedField interface method so that Fieldtypes can monitor when a field of their type has been saved, without having to attach a hook
This commit is contained in:
@@ -300,6 +300,8 @@ class Fields extends WireSaveableItems {
|
||||
}
|
||||
}
|
||||
|
||||
if($item->type) $item->type->savedField($item);
|
||||
|
||||
$this->getTags('reset');
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user