You are here

function simplenews_format_options in Simplenews 8

Same name and namespace in other branches
  1. 8.2 simplenews.module \simplenews_format_options()
  2. 7.2 simplenews.module \simplenews_format_options()
  3. 7 simplenews.module \simplenews_format_options()
  4. 3.x simplenews.module \simplenews_format_options()

Returns simplenews format options.

2 calls to simplenews_format_options()
NewsletterForm::form in src/Form/NewsletterForm.php
Overrides Drupal\Core\Entity\EntityForm::form().
NewsletterSettingsForm::buildForm in src/Form/NewsletterSettingsForm.php
Form constructor.

File

./simplenews.module, line 883
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_format_options() {
  return array(
    'plain' => t('Plain'),
    'html' => t('HTML'),
  );
}