diff --git a/src/Plugin/RulesAction/BatEventValidation.php b/src/Plugin/RulesAction/BatEventValidation.php index 05ee8ac..3e41e52 100644 --- a/src/Plugin/RulesAction/BatEventValidation.php +++ b/src/Plugin/RulesAction/BatEventValidation.php @@ -3,7 +3,7 @@ /** * @file - * Contains \Drupal\custom_pub\Plugin\RulesAction\SetCustomPublishingOption. + * Contains \Drupal\roblib_bee_limits\Plugin\RulesAction\BatEventValidation. */ namespace Drupal\roblib_bee_limits\Plugin\RulesAction; @@ -30,10 +30,10 @@ use Symfony\Component\HttpFoundation\RedirectResponse; class BatEventValidation extends RulesActionBase { /** - * Sets the custom publishing option on a given entity. + * Validates a Bat Event. * * @param \Drupal\Core\Entity\EntityInterface $event - * The entity to be saved. + * The entity to be validated. */ protected function doExecute(EntityInterface $event) { $user = \Drupal\user\Entity\User::load(\Drupal::currentUser()->id());