protected function ConfigEntityRevisionsOverviewFormBase::buildSelectColumn in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsOverviewFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBase::buildSelectColumn()
- 1.x src/ConfigEntityRevisionsOverviewFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBase::buildSelectColumn()
Set column attributes and return config array.
Parameters
string $name: Name attribute.
string $return_val: Return value attribute.
string $default_val: Default value attribute.
Return value
array Configuration array.
1 call to ConfigEntityRevisionsOverviewFormBase::buildSelectColumn()
- ConfigEntityRevisionsOverviewFormBase::buildForm in src/
ConfigEntityRevisionsOverviewFormBase.php - Generates an overview table of older revisions of a config entity.
File
- src/
ConfigEntityRevisionsOverviewFormBase.php, line 155
Class
- ConfigEntityRevisionsOverviewFormBase
- Controller to make library functions available to various consumers.
Namespace
Drupal\config_entity_revisionsCode
protected function buildSelectColumn($name, $return_val, $default_val) {
return [
'#type' => 'radio',
'#title_display' => 'invisible',
'#name' => $name,
'#return_value' => $return_val,
'#value' => FALSE,
'#default_value' => $default_val,
];
}