public function ContactEmailStorageInterface::hasContactEmails in Contact Emails 8
Checks if there are contact emails for the provided form.
Parameters
string $contact_form_id: The contact form ID to check for.
bool $enabled_only: Whether or not to filter by enabled emails only.
Return value
bool TRUE if there are contact emails defined, FALSE otherwise.
1 method overrides ContactEmailStorageInterface::hasContactEmails()
- ContactEmailStorage::hasContactEmails in src/
ContactEmailStorage.php - Checks if there are contact emails for the provided form.
File
- src/
ContactEmailStorageInterface.php, line 23
Class
- ContactEmailStorageInterface
- Defines the interface for contact email storage.
Namespace
Drupal\contact_emailsCode
public function hasContactEmails($contact_form_id, $enabled_only = FALSE);