public BlockBase::blockForm($form, FormStateInterface $form_state)
Returns the configuration form elements specific to this block plugin.
Blocks that need to add form elements to the normal block configuration form should implement this method.
array $form: The form definition array for the block configuration form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
array $form The renderable form array representing the entire configuration form.
Overrides BlockPluginInterface::blockForm
public function blockForm($form, FormStateInterface $form_state) { return array(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Block!BlockBase.php/function/BlockBase::blockForm/8.1.x