Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
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
220
Merge Requests
220
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
drupal
Commits
b51b62df
Commit
b51b62df
authored
Mar 28, 2014
by
jhodgdon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2225265
by eojthebrave: Add Utility group/topic for api.drupal.org
parent
e9cd089f
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
60 additions
and
1 deletion
+60
-1
core/lib/Drupal/Component/Utility/Crypt.php
core/lib/Drupal/Component/Utility/Crypt.php
+2
-0
core/lib/Drupal/Component/Utility/DiffArray.php
core/lib/Drupal/Component/Utility/DiffArray.php
+2
-0
core/lib/Drupal/Component/Utility/Html.php
core/lib/Drupal/Component/Utility/Html.php
+2
-0
core/lib/Drupal/Component/Utility/Image.php
core/lib/Drupal/Component/Utility/Image.php
+2
-0
core/lib/Drupal/Component/Utility/Json.php
core/lib/Drupal/Component/Utility/Json.php
+2
-0
core/lib/Drupal/Component/Utility/NestedArray.php
core/lib/Drupal/Component/Utility/NestedArray.php
+2
-0
core/lib/Drupal/Component/Utility/Number.php
core/lib/Drupal/Component/Utility/Number.php
+2
-0
core/lib/Drupal/Component/Utility/Random.php
core/lib/Drupal/Component/Utility/Random.php
+2
-0
core/lib/Drupal/Component/Utility/Settings.php
core/lib/Drupal/Component/Utility/Settings.php
+2
-0
core/lib/Drupal/Component/Utility/SortArray.php
core/lib/Drupal/Component/Utility/SortArray.php
+2
-0
core/lib/Drupal/Component/Utility/String.php
core/lib/Drupal/Component/Utility/String.php
+2
-0
core/lib/Drupal/Component/Utility/Tags.php
core/lib/Drupal/Component/Utility/Tags.php
+2
-0
core/lib/Drupal/Component/Utility/Timer.php
core/lib/Drupal/Component/Utility/Timer.php
+2
-0
core/lib/Drupal/Component/Utility/Unicode.php
core/lib/Drupal/Component/Utility/Unicode.php
+2
-0
core/lib/Drupal/Component/Utility/UrlHelper.php
core/lib/Drupal/Component/Utility/UrlHelper.php
+2
-0
core/lib/Drupal/Component/Utility/UserAgent.php
core/lib/Drupal/Component/Utility/UserAgent.php
+2
-0
core/lib/Drupal/Component/Utility/Variable.php
core/lib/Drupal/Component/Utility/Variable.php
+2
-0
core/lib/Drupal/Component/Utility/Xss.php
core/lib/Drupal/Component/Utility/Xss.php
+2
-0
core/modules/system/core.api.php
core/modules/system/core.api.php
+24
-1
No files found.
core/lib/Drupal/Component/Utility/Crypt.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Utility class for cryptographically-secure string handling routines.
* Utility class for cryptographically-secure string handling routines.
*
* @ingroup utility
*/
*/
class
Crypt
{
class
Crypt
{
...
...
core/lib/Drupal/Component/Utility/DiffArray.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers to perform diffs on multi dimensional arrays.
* Provides helpers to perform diffs on multi dimensional arrays.
*
* @ingroup utility
*/
*/
class
DiffArray
{
class
DiffArray
{
...
...
core/lib/Drupal/Component/Utility/Html.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides DOMDocument helpers for parsing and serializing HTML strings.
* Provides DOMDocument helpers for parsing and serializing HTML strings.
*
* @ingroup utility
*/
*/
class
Html
{
class
Html
{
...
...
core/lib/Drupal/Component/Utility/Image.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers to operate on images.
* Provides helpers to operate on images.
*
* @ingroup utility
*/
*/
class
Image
{
class
Image
{
...
...
core/lib/Drupal/Component/Utility/Json.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers for dealing with json.
* Provides helpers for dealing with json.
*
* @ingroup utility
*/
*/
class
Json
{
class
Json
{
...
...
core/lib/Drupal/Component/Utility/NestedArray.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers to perform operations on nested arrays and array keys of variable depth.
* Provides helpers to perform operations on nested arrays and array keys of variable depth.
*
* @ingroup utility
*/
*/
class
NestedArray
{
class
NestedArray
{
...
...
core/lib/Drupal/Component/Utility/Number.php
View file @
b51b62df
...
@@ -8,6 +8,8 @@
...
@@ -8,6 +8,8 @@
/**
/**
* Provides helper methods for manipulating numbers.
* Provides helper methods for manipulating numbers.
*
* @ingroup utility
*/
*/
class
Number
{
class
Number
{
...
...
core/lib/Drupal/Component/Utility/Random.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Defines a utility class for creating random data.
* Defines a utility class for creating random data.
*
* @ingroup utility
*/
*/
class
Random
{
class
Random
{
...
...
core/lib/Drupal/Component/Utility/Settings.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Read only settings that are initialized with the class.
* Read only settings that are initialized with the class.
*
* @ingroup utility
*/
*/
final
class
Settings
{
final
class
Settings
{
...
...
core/lib/Drupal/Component/Utility/SortArray.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides generic array sorting helper methods.
* Provides generic array sorting helper methods.
*
* @ingroup utility
*/
*/
class
SortArray
{
class
SortArray
{
...
...
core/lib/Drupal/Component/Utility/String.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers to operate on strings.
* Provides helpers to operate on strings.
*
* @ingroup utility
*/
*/
class
String
{
class
String
{
...
...
core/lib/Drupal/Component/Utility/Tags.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Defines a class that can explode and implode tags.
* Defines a class that can explode and implode tags.
*
* @ingroup utility
*/
*/
class
Tags
{
class
Tags
{
...
...
core/lib/Drupal/Component/Utility/Timer.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers to use timers throughout a request.
* Provides helpers to use timers throughout a request.
*
* @ingroup utility
*/
*/
class
Timer
{
class
Timer
{
...
...
core/lib/Drupal/Component/Utility/Unicode.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides Unicode-related conversions and operations.
* Provides Unicode-related conversions and operations.
*
* @ingroup utility
*/
*/
class
Unicode
{
class
Unicode
{
...
...
core/lib/Drupal/Component/Utility/UrlHelper.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Helper class URL based methods.
* Helper class URL based methods.
*
* @ingroup utility
*/
*/
class
UrlHelper
{
class
UrlHelper
{
...
...
core/lib/Drupal/Component/Utility/UserAgent.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides user agent related utility functions.
* Provides user agent related utility functions.
*
* @ingroup utility
*/
*/
class
UserAgent
{
class
UserAgent
{
...
...
core/lib/Drupal/Component/Utility/Variable.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helpers for dealing with variables.
* Provides helpers for dealing with variables.
*
* @ingroup utility
*/
*/
class
Variable
{
class
Variable
{
...
...
core/lib/Drupal/Component/Utility/Xss.php
View file @
b51b62df
...
@@ -9,6 +9,8 @@
...
@@ -9,6 +9,8 @@
/**
/**
* Provides helper to filter for cross-site scripting.
* Provides helper to filter for cross-site scripting.
*
* @ingroup utility
*/
*/
class
Xss
{
class
Xss
{
...
...
core/modules/system/core.api.php
View file @
b51b62df
...
@@ -38,10 +38,11 @@
...
@@ -38,10 +38,11 @@
* - @link views_overview Views @endlink
* - @link views_overview Views @endlink
* - @link database Database abstraction layer @endlink
* - @link database Database abstraction layer @endlink
*
*
* @section
utility
Other essential APIs
* @section
other_essentials
Other essential APIs
*
*
* - @link i18n Internationalization @endlink
* - @link i18n Internationalization @endlink
* - @link cache Caching @endlink
* - @link cache Caching @endlink
* - @link utility Utility classes and functions @endlink
* - @link user_api User accounts, permissions, and roles @endlink
* - @link user_api User accounts, permissions, and roles @endlink
* - @link theme_render Theme system and render API @endlink
* - @link theme_render Theme system and render API @endlink
* - @link migration Migration @endlink
* - @link migration Migration @endlink
...
@@ -476,3 +477,25 @@
...
@@ -476,3 +477,25 @@
* - Automated testing: @link testing Automated tests topic @endlink
* - Automated testing: @link testing Automated tests topic @endlink
* @}
* @}
*/
*/
/**
* @defgroup utility Utility classes and functions
* @{
* Overview of utility classes and functions for developers.
*
* Drupal provides developers with a variety of utility functions that make it
* easier and more efficient to perform tasks that are either really common,
* tedious, or difficult. Utility functions help to reduce code duplication and
* should be used in place of one-off code whenever possible.
*
* @see common.inc
* @see file
* @see format
* @see mail.inc
* @see php_wrappers
* @see sanitization
* @see session.inc
* @see transliteration
* @see validation
* @}
*/
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