From dc9852dbfc3affbb49be35ae5ec9f805e1fce508 Mon Sep 17 00:00:00 2001 From: ppound Date: Fri, 30 Oct 2020 10:55:30 -0300 Subject: [PATCH] updating comments --- src/Plugin/RulesAction/BatEventValidation.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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());