public function MessagePurgeInterface::setWeight in Message 8
Sets the weight for this purge plugin.
Parameters
int $weight: The weight for this purge plugin.
Return value
$this
1 method overrides MessagePurgeInterface::setWeight()
- MessagePurgeBase::setWeight in src/
MessagePurgeBase.php - Sets the weight for this purge plugin.
File
- src/
MessagePurgeInterface.php, line 74
Class
- MessagePurgeInterface
- Interface for MessagePurge plugins.
Namespace
Drupal\messageCode
public function setWeight($weight);