Commit 77c019bc authored by mr.baileys's avatar mr.baileys

#2624862: More namespace changes.

parent 6186f0f1
/**
* @file
* Administration styles for the Facet API module.
* Administration styles for the Facets module.
*/
/*
* Facet API overview page
* Facets overview page
*/
#facets-groups-list {
margin-bottom: 2em;
......@@ -30,7 +30,7 @@
/*
* Facet API Display page
* Facets Display page
*/
.facets-processor-settings-sorting {
margin-bottom: -7px;
......
facets.overview:
title: Facet API
title: Facets
description: 'Configure facets for Search API searchers.'
route_name: facets.overview
weight: 30
......
'administer facets':
title: 'Administer Facet Api'
title: 'Administer Facets'
description: 'Create and configure Facets for your Search pages.'
facets.overview:
path: '/admin/config/search/facet-api'
path: '/admin/config/search/facets'
defaults:
_title: 'Facet API'
_entity_list: 'facets_facet'
......@@ -7,14 +7,14 @@ facets.overview:
_entity_create_access: 'facets_facet'
entity.facets_facet.add_form:
path: '/admin/config/search/facet-api/add-facet'
path: '/admin/config/search/facets/add-facet'
defaults:
_entity_form: 'facets_facet.default'
requirements:
_entity_create_access: 'facets_facet'
entity.facets_facet.canonical:
path: '/admin/config/search/facet-api/{facets_facet}'
path: '/admin/config/search/facets/{facets_facet}'
defaults:
_controller: '\Drupal\facets\Controller\FacetController::page'
_title_callback: '\Drupal\facets\Controller\FacetController::pageTitle'
......@@ -22,21 +22,21 @@ entity.facets_facet.canonical:
_entity_access: 'facets_facet.view'
entity.facets_facet.edit_form:
path: '/admin/config/search/facet-api/{facets_facet}/edit'
path: '/admin/config/search/facets/{facets_facet}/edit'
defaults:
_entity_form: 'facets_facet.edit'
requirements:
_entity_access: 'facets_facet.edit'
entity.facets_facet.delete_form:
path: '/admin/config/search/facet-api/{facets_facet}/delete'
path: '/admin/config/search/facets/{facets_facet}/delete'
defaults:
_entity_form: 'facets_facet.delete'
requirements:
_entity_access: 'facets_facet.delete'
entity.facets_facet.display_form:
path: '/admin/config/search/facet-api/{facets_facet}/display'
path: '/admin/config/search/facets/{facets_facet}/display'
defaults:
_entity_form: 'facets_facet.display'
requirements:
......
......@@ -10,7 +10,7 @@ namespace Drupal\facets\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Facet API facet source annotation.
* Defines a Facets facet source annotation.
*
* @see \Drupal\facets\FacetSource\FacetSourcePluginManager
* @see \Drupal\facets\FacetSource\FacetSourceInterface
......
......@@ -9,7 +9,7 @@ namespace Drupal\facets\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Facet API Processor annotation.
* Defines a Facets Processor annotation.
*
* @see \Drupal\facets\Processor\ProcessorPluginManager
* @see plugin_api
......
......@@ -10,7 +10,7 @@ namespace Drupal\facets\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Facet API query type annotation.
* Defines a Facets query type annotation.
*
* @see \Drupal\facets\QueryType\QueryTypePluginManager
* @see plugin_api
......
......@@ -10,7 +10,7 @@ namespace Drupal\facets\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Facet API Widget annotation.
* Defines a Facets Widget annotation.
*
* @see \Drupal\facets\Widget\WidgetPluginManager
* @see plugin_api
......
......@@ -46,11 +46,11 @@ use Drupal\facets\FacetInterface;
* "only_visible_when_facet_source_is_visible",
* },
* links = {
* "canonical" = "/admin/config/search/facet-api",
* "add-form" = "/admin/config/search/facet-api/add-facet",
* "edit-form" = "/admin/config/search/facet-api/{facets_facet}/edit",
* "display-form" = "/admin/config/search/facet-api/{facets_facet}/display",
* "delete-form" = "/admin/config/search/facet-api/{facets_facet}/delete",
* "canonical" = "/admin/config/search/facets",
* "add-form" = "/admin/config/search/facets/add-facet",
* "edit-form" = "/admin/config/search/facets/{facets_facet}/edit",
* "display-form" = "/admin/config/search/facets/{facets_facet}/display",
* "delete-form" = "/admin/config/search/facets/{facets_facet}/delete",
* }
* )
*/
......@@ -437,7 +437,7 @@ class Facet extends ConfigEntityBase implements FacetInterface {
}
/**
* Until facet api supports more than just search api, this is enough.
* Until facets supports more than just search api, this is enough.
*
* @return string
*/
......
......@@ -8,6 +8,6 @@
namespace Drupal\facets\Exception;
/**
* Represents an exception that occurred in some part of the Facet API.
* Represents an exception that occurred in some part of the Facets.
*/
class Exception extends \Exception {}
......@@ -157,7 +157,7 @@ class FacetDisplayForm extends EntityForm {
'#ajax' => [
'trigger_as' => ['name' => 'widget_configure'],
'callback' => '::buildAjaxWidgetConfigForm',
'wrapper' => 'facet-api-widget-config-form',
'wrapper' => 'facets-widget-config-form',
'method' => 'replace',
'effect' => 'fade',
],
......@@ -165,7 +165,7 @@ class FacetDisplayForm extends EntityForm {
$form['widget_configs'] = [
'#type' => 'container',
'#attributes' => [
'id' => 'facet-api-widget-config-form',
'id' => 'facets-widget-config-form',
],
'#tree' => TRUE,
];
......@@ -177,7 +177,7 @@ class FacetDisplayForm extends EntityForm {
'#submit' => ['::submitAjaxWidgetConfigForm'],
'#ajax' => [
'callback' => '::buildAjaxWidgetConfigForm',
'wrapper' => 'facet-api-widget-config-form',
'wrapper' => 'facets-widget-config-form',
],
'#attributes' => ['class' => ['js-hide']],
];
......
<?php
/**
* @file
* Tests Facet API's FacetManager implementation.
* Tests Facets' FacetManager implementation.
*/
namespace Drupal\facets\Tests;
......
......@@ -10,7 +10,7 @@ namespace Drupal\facets\Tests;
use \Drupal\facets\Tests\WebTestBase as FacetWebTestBase;
/**
* Tests the overall functionality of the Facet API admin UI.
* Tests the overall functionality of the Facets admin UI.
*
* @group facets
*/
......@@ -32,7 +32,7 @@ class IntegrationTest extends FacetWebTestBase {
/**
* Tests the facet api permissions.
* Tests Facets' permissions.
*/
public function testOverviewPermissions() {
$facet_overview = $this->urlGenerator->generateFromRoute('facets.overview');
......@@ -52,7 +52,7 @@ class IntegrationTest extends FacetWebTestBase {
}
/**
* Tests various operations via the Facet API's admin UI.
* Tests various operations via the Facets' admin UI.
*/
public function testFramework() {
......
......@@ -46,7 +46,7 @@ abstract class WebTestBase extends SimpletestWebTestBase {
protected $adminUser;
/**
* A user without Search / Facet API admin permission.
* A user without Search / Facet admin permission.
*
* @var \Drupal\Core\Session\AccountInterface
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment