protected function GridWidget::getGridConfig in Paragraphs grid 8
Returns grid config settings by name.
Parameters
string $name: The config key.
Return value
array|mixed|null The config value from grid config.
2 calls to GridWidget::getGridConfig()
- GridWidget::getBreakpoints in src/
Plugin/ Field/ FieldWidget/ GridWidget.php - Breakoint definition from grid config.
- GridWidget::getCellProperties in src/
Plugin/ Field/ FieldWidget/ GridWidget.php - Returns cell property definition (like offset, order ...) from grid config.
File
- src/
Plugin/ Field/ FieldWidget/ GridWidget.php, line 172
Class
- GridWidget
- Plugin implementation of the 'grid_widget' widget.
Namespace
Drupal\paragraphs_grid\Plugin\Field\FieldWidgetCode
protected function getGridConfig($name = '') {
return $this->gridConfig
->get($name);
}