You are here

protected function TagSetForm::buildPluginConfiguration in Extensible BBCode 8.3

Same name and namespace in other branches
  1. 4.0.x src/Form/TagSetForm.php \Drupal\xbbcode\Form\TagSetForm::buildPluginConfiguration()

Build a plugin configuration item from form values.

Parameters

array $values: The form values.

Return value

array The new plugin configuration.

1 call to TagSetForm::buildPluginConfiguration()
TagSetForm::copyFormValuesToEntity in src/Form/TagSetForm.php
Copies top-level form values to entity properties

File

src/Form/TagSetForm.php, line 294

Class

TagSetForm
Base form for tag sets.

Namespace

Drupal\xbbcode\Form

Code

protected function buildPluginConfiguration(array $values) : array {
  return [
    'id' => $values['id'],
  ];
}