protected function FieldTemplateProcessor::getColumnName in UI Patterns 8
Extract column name from a source name.
Parameters
string $source: Source name.
Return value
string Column name.
1 call to FieldTemplateProcessor::getColumnName()
- FieldTemplateProcessor::getSourceValue in modules/
ui_patterns_ds/ src/ FieldTemplateProcessor.php - Get source value.
File
- modules/
ui_patterns_ds/ src/ FieldTemplateProcessor.php, line 142
Class
- FieldTemplateProcessor
- Class FieldTemplateProcessor.
Namespace
Drupal\ui_patterns_dsCode
protected function getColumnName($source) {
return str_replace($this
->getFieldName() . '__', '', $source);
}