Loading modules/invite_by_email/src/Form/InviteByEmailBlockForm.php +1 −1 Changes for modules/invite_by_email/src/Form/InviteByEmailBlockForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\invite\Entity\Invite; /** * Class InviteByEmailBlockForm. * Class for Email Block Form. * * @package Drupal\invite\Form */ Loading modules/invite_by_email/src/Plugin/Invite/InviteByEmail.php +10 −4 Changes for modules/invite_by_email/src/Plugin/Invite/InviteByEmail.php: 10 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain * Getter for the messenger service. * * @return \Drupal\Core\Messenger\MessengerInterface * will return the messenger. */ public function getMessenger() { return $this->messenger; Loading @@ -41,6 +42,12 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain /** * Constructs invite_by_email plugin. * * @param array $configuration * Array with configurations. * @param string $plugin_id * The plugin id. * @param string $plugin_definition * Plugin Definition. * @param \Drupal\Core\Messenger\MessengerInterface $messenger * The messenger service. */ Loading @@ -65,9 +72,9 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain * {@inheritdoc} */ public function send($invite) { /* * @var $token \Drupal\token\Token * @var $mail \Drupal\Core\Mail\MailManager /** * @var \Drupal\token\Token $token * @var \Drupal\Core\Mail\MailManager $mail */ $bubbleable_metadata = new BubbleableMetadata(); $token = \Drupal::service('token'); Loading Loading @@ -118,4 +125,3 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain } } modules/invite_link/src/Form/InviteLinkBlockForm.php +1 −1 Changes for modules/invite_link/src/Form/InviteLinkBlockForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\invite\Entity\Invite; /** * Class InviteLinkBlockForm. * Class for Link Block Form. * * @package Drupal\invite\Form */ Loading src/Controller/InviteAccept.php +1 −1 Changes for src/Controller/InviteAccept.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ use Drupal\invite\InviteAcceptEvent; use Symfony\Component\DependencyInjection\ContainerInterface; /** * Class InviteAccept. * Class to Invite Accept. * * @package Drupal\invite\Controller */ Loading src/Controller/InviteAccessController.php +5 Changes for src/Controller/InviteAccessController.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -13,6 +13,11 @@ use Symfony\Component\DependencyInjection\ContainerInterface; */ class InviteAccessController extends ControllerBase { /** * The route match. * * @var \Drupal\Core\Routing\CurrentRouteMatch */ protected $routeMatch; /** Loading Loading
modules/invite_by_email/src/Form/InviteByEmailBlockForm.php +1 −1 Changes for modules/invite_by_email/src/Form/InviteByEmailBlockForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\invite\Entity\Invite; /** * Class InviteByEmailBlockForm. * Class for Email Block Form. * * @package Drupal\invite\Form */ Loading
modules/invite_by_email/src/Plugin/Invite/InviteByEmail.php +10 −4 Changes for modules/invite_by_email/src/Plugin/Invite/InviteByEmail.php: 10 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain * Getter for the messenger service. * * @return \Drupal\Core\Messenger\MessengerInterface * will return the messenger. */ public function getMessenger() { return $this->messenger; Loading @@ -41,6 +42,12 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain /** * Constructs invite_by_email plugin. * * @param array $configuration * Array with configurations. * @param string $plugin_id * The plugin id. * @param string $plugin_definition * Plugin Definition. * @param \Drupal\Core\Messenger\MessengerInterface $messenger * The messenger service. */ Loading @@ -65,9 +72,9 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain * {@inheritdoc} */ public function send($invite) { /* * @var $token \Drupal\token\Token * @var $mail \Drupal\Core\Mail\MailManager /** * @var \Drupal\token\Token $token * @var \Drupal\Core\Mail\MailManager $mail */ $bubbleable_metadata = new BubbleableMetadata(); $token = \Drupal::service('token'); Loading Loading @@ -118,4 +125,3 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain } }
modules/invite_link/src/Form/InviteLinkBlockForm.php +1 −1 Changes for modules/invite_link/src/Form/InviteLinkBlockForm.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ use Drupal\Core\Form\FormStateInterface; use Drupal\invite\Entity\Invite; /** * Class InviteLinkBlockForm. * Class for Link Block Form. * * @package Drupal\invite\Form */ Loading
src/Controller/InviteAccept.php +1 −1 Changes for src/Controller/InviteAccept.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ use Drupal\invite\InviteAcceptEvent; use Symfony\Component\DependencyInjection\ContainerInterface; /** * Class InviteAccept. * Class to Invite Accept. * * @package Drupal\invite\Controller */ Loading
src/Controller/InviteAccessController.php +5 Changes for src/Controller/InviteAccessController.php: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -13,6 +13,11 @@ use Symfony\Component\DependencyInjection\ContainerInterface; */ class InviteAccessController extends ControllerBase { /** * The route match. * * @var \Drupal\Core\Routing\CurrentRouteMatch */ protected $routeMatch; /** Loading