Browse Source

updating comments

master
ppound 4 years ago
parent
commit
dc9852dbfc
  1. 6
      src/Plugin/RulesAction/BatEventValidation.php

6
src/Plugin/RulesAction/BatEventValidation.php

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

Loading…
Cancel
Save