You are here

public function TextFormat::isInput in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/TextFormat.php \Drupal\webform\Plugin\WebformElement\TextFormat::isInput()

Checks if the element carries a value.

Parameters

array $element: An element.

Return value

bool TRUE if the element carries a value.

Overrides WebformElementBase::isInput

File

src/Plugin/WebformElement/TextFormat.php, line 60

Class

TextFormat
Provides a 'text_format' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function isInput(array $element) {
  return TRUE;
}