You are here

public function RedhenContactFormBlock::build in RedHen CRM 8

Returns form for creating Redhen Contacts.

Overrides BlockPluginInterface::build

File

modules/redhen_contact/src/Plugin/Block/RedhenContactFormBlock.php, line 22

Class

RedhenContactFormBlock
Provides configurable form to add Redhen Contacts.

Namespace

Drupal\redhen_contact\Plugin\Block

Code

public function build() {
  $build = [
    '#markup' => '<p>FOOBAR</p>',
  ];
  return $build;
}