diff --git a/src/Plugin/Block/UwCblPublicationSearch.php b/src/Plugin/Block/UwCblPublicationSearch.php index 421b2d730de3f3f3be123b76875517bd32aea294..60db222bd7a226b4b03c8d818a5e056e4a9046fb 100644 --- a/src/Plugin/Block/UwCblPublicationSearch.php +++ b/src/Plugin/Block/UwCblPublicationSearch.php @@ -11,11 +11,11 @@ use Drupal\Core\Plugin\ContainerFactoryPluginInterface; use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Custom block publication search. + * Custom block reference search. * * @Block( * id = "uw_cbl_publication_search", - * admin_label = @Translation("Publication reference search"), + * admin_label = @Translation("Reference search"), * ) */ class UwCblPublicationSearch extends BlockBase implements ContainerFactoryPluginInterface { @@ -102,14 +102,14 @@ class UwCblPublicationSearch extends BlockBase implements ContainerFactoryPlugin // Get the reference search form using the options selected. $ref_search['form'] = $this->formBuilder->getForm( - 'Drupal\uw_bibcite_reference\Form\PublicationSearchForm', + 'Drupal\uw_bibcite_reference\Form\ReferenceSearchForm', $this->configuration, ); // If there is no block title, then set the label so that // the template will know to place a visually hidden one. if (!$this->configuration['label_display']) { - $ref_search['label'] = $this->t('Publication reference search'); + $ref_search['label'] = $this->t('Reference search'); } return [