public function EntityMatcher::submitConfigurationForm in Linkit 8.4
Same name and namespace in other branches
- 8.5 src/Plugin/Linkit/Matcher/EntityMatcher.php \Drupal\linkit\Plugin\Linkit\Matcher\EntityMatcher::submitConfigurationForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides PluginFormInterface::submitConfigurationForm
3 calls to EntityMatcher::submitConfigurationForm()
- FileMatcher::submitConfigurationForm in src/
Plugin/ Linkit/ Matcher/ FileMatcher.php - Form submission handler.
- NodeMatcher::submitConfigurationForm in src/
Plugin/ Linkit/ Matcher/ NodeMatcher.php - Form submission handler.
- UserMatcher::submitConfigurationForm in src/
Plugin/ Linkit/ Matcher/ UserMatcher.php - Form submission handler.
3 methods override EntityMatcher::submitConfigurationForm()
- FileMatcher::submitConfigurationForm in src/
Plugin/ Linkit/ Matcher/ FileMatcher.php - Form submission handler.
- NodeMatcher::submitConfigurationForm in src/
Plugin/ Linkit/ Matcher/ NodeMatcher.php - Form submission handler.
- UserMatcher::submitConfigurationForm in src/
Plugin/ Linkit/ Matcher/ UserMatcher.php - Form submission handler.
File
- src/
Plugin/ Linkit/ Matcher/ EntityMatcher.php, line 200 - Contains \Drupal\linkit\Plugin\Linkit\Matcher\EntityMatcher.
Class
- EntityMatcher
- Plugin annotation @Matcher( id = "entity", label = @Translation("Entity"), deriver = "\Drupal\linkit\Plugin\Derivative\EntityMatcherDeriver" )
Namespace
Drupal\linkit\Plugin\Linkit\MatcherCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['result_description'] = $form_state
->getValue('result_description');
$this->configuration['bundles'] = $form_state
->getValue('bundles');
$this->configuration['group_by_bundle'] = $form_state
->getValue('group_by_bundle');
}