public static function PurgerSettingsInterface::load in Purge 8.3
Either loads or creates the settings entity depending its existence.
Parameters
string $id: Unique instance ID of the purger.
Return value
\Drupal\purge\Plugin\Purge\Purger\PurgerSettingsInterface The settings object.
Overrides EntityInterface::load
File
- src/
Plugin/ Purge/ Purger/ PurgerSettingsInterface.php, line 21
Class
- PurgerSettingsInterface
- Provides an interface for purgers storing settings through config entities.
Namespace
Drupal\purge\Plugin\Purge\PurgerCode
public static function load($id);