public function LingotekJobId::getInfo in Lingotek Translation 4.0.x
Same name and namespace in other branches
- 8.2 src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.0.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.1.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.2.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.3.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.4.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.5.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.6.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.7.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
- 3.8.x src/Element/LingotekJobId.php \Drupal\lingotek\Element\LingotekJobId::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides Textfield::getInfo
File
- src/
Element/ LingotekJobId.php, line 52
Class
- LingotekJobId
- Provides a job id render element.
Namespace
Drupal\lingotek\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#input' => TRUE,
'#default_value' => NULL,
'#process' => [
[
$class,
'processJobId',
],
[
$class,
'processAjaxForm',
],
],
'#element_validate' => [
[
$class,
'validateJobId',
],
],
'#pre_render' => [
[
$class,
'preRenderTextfield',
],
],
'#theme' => 'input__textfield',
'#theme_wrappers' => [
'form_element',
],
];
}