You are here

protected function AddMailchimpEventWebformHandler::isValidEventId in Mailchimp 2.x

Gets the MailchimpActon's Name..

Parameters

int $id: The Mailchimp Event ID.

Return value

string The name of the event.

1 call to AddMailchimpEventWebformHandler::isValidEventId()
AddMailchimpEventWebformHandler::buildConfigurationForm in modules/mailchimp_events/src/Plugin/WebformHandler/AddMailchimpEventWebformHandler.php
Form constructor.

File

modules/mailchimp_events/src/Plugin/WebformHandler/AddMailchimpEventWebformHandler.php, line 349

Class

AddMailchimpEventWebformHandler
Webform submission Event handler.

Namespace

Drupal\mailchimp_events\Plugin\WebformHandler

Code

protected function isValidEventId($id) {
  return MailchimpEvent::load($id);
}