Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
F
facets
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
8
Merge Requests
8
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
facets
Commits
77c019bc
Commit
77c019bc
authored
Dec 05, 2015
by
mr.baileys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2624862
: More namespace changes.
parent
6186f0f1
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
30 additions
and
30 deletions
+30
-30
css/facets.admin.css
css/facets.admin.css
+3
-3
facets.links.menu.yml
facets.links.menu.yml
+1
-1
facets.permissions.yml
facets.permissions.yml
+1
-1
facets.routing.yml
facets.routing.yml
+6
-6
src/Annotation/FacetsFacetSource.php
src/Annotation/FacetsFacetSource.php
+1
-1
src/Annotation/FacetsProcessor.php
src/Annotation/FacetsProcessor.php
+1
-1
src/Annotation/FacetsQueryType.php
src/Annotation/FacetsQueryType.php
+1
-1
src/Annotation/FacetsWidget.php
src/Annotation/FacetsWidget.php
+1
-1
src/Entity/Facet.php
src/Entity/Facet.php
+6
-6
src/Exception/Exception.php
src/Exception/Exception.php
+1
-1
src/Form/FacetDisplayForm.php
src/Form/FacetDisplayForm.php
+3
-3
src/Tests/FacetManagerTest.php
src/Tests/FacetManagerTest.php
+1
-1
src/Tests/IntegrationTest.php
src/Tests/IntegrationTest.php
+3
-3
src/Tests/WebTestBase.php
src/Tests/WebTestBase.php
+1
-1
No files found.
css/facets.admin.css
View file @
77c019bc
/**
* @file
* Administration styles for the Facet
API
module.
* Administration styles for the Facet
s
module.
*/
/*
* Facet
API
overview page
* Facet
s
overview page
*/
#facets-groups-list
{
margin-bottom
:
2em
;
...
...
@@ -30,7 +30,7 @@
/*
* Facet
API
Display page
* Facet
s
Display page
*/
.facets-processor-settings-sorting
{
margin-bottom
:
-7px
;
...
...
facets.links.menu.yml
View file @
77c019bc
facets.overview
:
title
:
Facet
API
title
:
Facet
s
description
:
'
Configure
facets
for
Search
API
searchers.'
route_name
:
facets.overview
weight
:
30
...
...
facets.permissions.yml
View file @
77c019bc
'
administer
facets'
:
title
:
'
Administer
Facet
Api
'
title
:
'
Administer
Facet
s
'
description
:
'
Create
and
configure
Facets
for
your
Search
pages.'
facets.routing.yml
View file @
77c019bc
facets.overview
:
path
:
'
/admin/config/search/facet
-api
'
path
:
'
/admin/config/search/facet
s
'
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/facet
s
/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/facet
s
/{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/facet
s
/{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/facet
s
/{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/facet
s
/{facets_facet}/display'
defaults
:
_entity_form
:
'
facets_facet.display'
requirements
:
...
...
src/Annotation/FacetsFacetSource.php
View file @
77c019bc
...
...
@@ -10,7 +10,7 @@ namespace Drupal\facets\Annotation;
use
Drupal\Component\Annotation\Plugin
;
/**
* Defines a Facet
API
facet source annotation.
* Defines a Facet
s
facet source annotation.
*
* @see \Drupal\facets\FacetSource\FacetSourcePluginManager
* @see \Drupal\facets\FacetSource\FacetSourceInterface
...
...
src/Annotation/FacetsProcessor.php
View file @
77c019bc
...
...
@@ -9,7 +9,7 @@ namespace Drupal\facets\Annotation;
use
Drupal\Component\Annotation\Plugin
;
/**
* Defines a Facet
API
Processor annotation.
* Defines a Facet
s
Processor annotation.
*
* @see \Drupal\facets\Processor\ProcessorPluginManager
* @see plugin_api
...
...
src/Annotation/FacetsQueryType.php
View file @
77c019bc
...
...
@@ -10,7 +10,7 @@ namespace Drupal\facets\Annotation;
use
Drupal\Component\Annotation\Plugin
;
/**
* Defines a Facet
API
query type annotation.
* Defines a Facet
s
query type annotation.
*
* @see \Drupal\facets\QueryType\QueryTypePluginManager
* @see plugin_api
...
...
src/Annotation/FacetsWidget.php
View file @
77c019bc
...
...
@@ -10,7 +10,7 @@ namespace Drupal\facets\Annotation;
use
Drupal\Component\Annotation\Plugin
;
/**
* Defines a Facet
API
Widget annotation.
* Defines a Facet
s
Widget annotation.
*
* @see \Drupal\facets\Widget\WidgetPluginManager
* @see plugin_api
...
...
src/Entity/Facet.php
View file @
77c019bc
...
...
@@ -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/facet
s
",
* "add-form" = "/admin/config/search/facet
s
/add-facet",
* "edit-form" = "/admin/config/search/facet
s
/{facets_facet}/edit",
* "display-form" = "/admin/config/search/facet
s
/{facets_facet}/display",
* "delete-form" = "/admin/config/search/facet
s
/{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 facet
s
supports more than just search api, this is enough.
*
* @return string
*/
...
...
src/Exception/Exception.php
View file @
77c019bc
...
...
@@ -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 Facet
s
.
*/
class
Exception
extends
\
Exception
{}
src/Form/FacetDisplayForm.php
View file @
77c019bc
...
...
@@ -157,7 +157,7 @@ class FacetDisplayForm extends EntityForm {
'#ajax'
=>
[
'trigger_as'
=>
[
'name'
=>
'widget_configure'
],
'callback'
=>
'::buildAjaxWidgetConfigForm'
,
'wrapper'
=>
'facet
-api
-widget-config-form'
,
'wrapper'
=>
'facet
s
-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'
=>
'facet
s
-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'
=>
'facet
s
-widget-config-form'
,
],
'#attributes'
=>
[
'class'
=>
[
'js-hide'
]],
];
...
...
src/Tests/FacetManagerTest.php
View file @
77c019bc
<?php
/**
* @file
* Tests Facet
API's
FacetManager implementation.
* Tests Facet
s'
FacetManager implementation.
*/
namespace
Drupal\facets\Tests
;
...
...
src/Tests/IntegrationTest.php
View file @
77c019bc
...
...
@@ -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 Facet
s
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 Facet
s'
admin UI.
*/
public
function
testFramework
()
{
...
...
src/Tests/WebTestBase.php
View file @
77c019bc
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment