Skip to content
Snippets Groups Projects

Issue #2731425 by james.williams, steven jones, anybody: Lots of unnecessary...

Files
2
@@ -3,6 +3,7 @@
namespace Drupal\token_custom\Entity;
use Drupal\Core\Config\Entity\ConfigEntityBundleBase;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\token_custom\TokenCustomTypeInterface;
/**
@@ -91,4 +92,13 @@ class TokenCustomType extends ConfigEntityBundleBase implements TokenCustomTypeI
return $this;
}
/**
* {@inheritdoc}
*/
public function postSave(EntityStorageInterface $storage, $update = TRUE) {
parent::postSave($storage, $update);
drupal_static_reset('token_custom_type_allowlist');
}
}
Loading