1
0
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:
Ryan Cramer
2021-01-22 14:12:58 -05:00
parent e28d2e67e7
commit 0bddf640db
2 changed files with 16 additions and 0 deletions

View File

@@ -300,6 +300,8 @@ class Fields extends WireSaveableItems {
}
}
if($item->type) $item->type->savedField($item);
$this->getTags('reset');
return true;