diff --git a/2539332-My-second-patch-2.patch b/2539332-My-second-patch-2.patch new file mode 100644 index 0000000..a1ebc80 --- /dev/null +++ b/2539332-My-second-patch-2.patch @@ -0,0 +1,67 @@ +diff --git a/sources/locale/src/LocaleSourcePluginUi.php b/sources/locale/src/LocaleSourcePluginUi.php +index 0701390..e4ed6b6 100644 +--- a/sources/locale/src/LocaleSourcePluginUi.php ++++ b/sources/locale/src/LocaleSourcePluginUi.php +@@ -94,7 +94,10 @@ class LocaleSourcePluginUi extends SourcePluginUiBase { + } + + /** +- * Implements TMGMTSourceUIControllerInterface::overviewForm(). ++ * ++ * ++ * {@inheritdoc} ++ * + */ + public function overviewForm(array $form, FormStateInterface $form_state, $type) { + $form = parent::overviewForm($form, $form_state, $type); +@@ -243,7 +246,9 @@ class LocaleSourcePluginUi extends SourcePluginUiBase { + } + + /** +- * Implements TMGMTSourceUIControllerInterface::overviewFormSubmit(). ++ * ++ * ++ * {@inheritdoc} + */ + public function overviewFormSubmit(array $form, FormStateInterface $form_state, $type) { + // Handle search redirect. +diff --git a/src/SourcePluginUiBase.php b/src/SourcePluginUiBase.php +index 25ef2f5..003827e 100644 +--- a/src/SourcePluginUiBase.php ++++ b/src/SourcePluginUiBase.php +@@ -47,7 +47,17 @@ class SourcePluginUiBase extends PluginBase implements SourcePluginUiInterface { + } + + /** +- * {@inheritdoc} ++ * Builds search form for entity sources overview. ++ * ++ * @param array $form ++ * Drupal form array. ++ * @param FormStateInterface $form_state ++ * Drupal form_state array. ++ * @param string $type ++ * Entity type. ++ * ++ * @return array ++ * Drupal form array. + */ + public function overviewForm(array $form, FormStateInterface $form_state, $type) { + $form += $this->overviewSearchFormPart($form, $form_state, $type); +@@ -71,7 +81,15 @@ class SourcePluginUiBase extends PluginBase implements SourcePluginUiInterface { + } + + /** +- * {@inheritdoc} ++ * Builds search form for entity sources overview. ++ * ++ * @param array $form ++ * Drupal form array. ++ * @param FormStateInterface $form_state ++ * Drupal form_state array. ++ * @param string $type ++ * Entity type. ++ * + */ + public function overviewFormSubmit(array $form, FormStateInterface $form_state, $type) { + // Nothing to do here by default. diff --git a/sources/locale/src/LocaleSourcePluginUi.php b/sources/locale/src/LocaleSourcePluginUi.php index 0701390..9da8503 100644 --- a/sources/locale/src/LocaleSourcePluginUi.php +++ b/sources/locale/src/LocaleSourcePluginUi.php @@ -94,7 +94,7 @@ class LocaleSourcePluginUi extends SourcePluginUiBase { } /** - * Implements TMGMTSourceUIControllerInterface::overviewForm(). + * {@inheritdoc} */ public function overviewForm(array $form, FormStateInterface $form_state, $type) { $form = parent::overviewForm($form, $form_state, $type); @@ -243,7 +243,7 @@ class LocaleSourcePluginUi extends SourcePluginUiBase { } /** - * Implements TMGMTSourceUIControllerInterface::overviewFormSubmit(). + * {@inheritdoc} */ public function overviewFormSubmit(array $form, FormStateInterface $form_state, $type) { // Handle search redirect. diff --git a/src/SourcePluginUiBase.php b/src/SourcePluginUiBase.php index 25ef2f5..93eba7a 100644 --- a/src/SourcePluginUiBase.php +++ b/src/SourcePluginUiBase.php @@ -47,7 +47,17 @@ class SourcePluginUiBase extends PluginBase implements SourcePluginUiInterface { } /** - * {@inheritdoc} + * Builds search form for entity sources overview. + * + * @param array $form + * Drupal form array. + * @param \Drupal\Core\Form\FormStateInterface $form_state + * The current state of the form. + * @param string $type + * Entity type. + * + * @return array + * Drupal form array. */ public function overviewForm(array $form, FormStateInterface $form_state, $type) { $form += $this->overviewSearchFormPart($form, $form_state, $type); @@ -71,7 +81,15 @@ class SourcePluginUiBase extends PluginBase implements SourcePluginUiInterface { } /** - * {@inheritdoc} + * Builds search form for entity sources overview. + * + * @param array $form + * Drupal form array. + *@param \Drupal\Core\Form\FormStateInterface $form_state + * The current state of the form. + * @param string $type + * Entity type. + * */ public function overviewFormSubmit(array $form, FormStateInterface $form_state, $type) { // Nothing to do here by default.