You are here

protected function GridWidget::getModuleConfig in Paragraphs grid 8

Returns module config settings by name.

Parameters

string $name: The config key.

Return value

array|mixed|null The config value from module config.

File

src/Plugin/Field/FieldWidget/GridWidget.php, line 159

Class

GridWidget
Plugin implementation of the 'grid_widget' widget.

Namespace

Drupal\paragraphs_grid\Plugin\Field\FieldWidget

Code

protected function getModuleConfig($name = '') {
  return $this->moduleConfig
    ->get($name);
}