Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
common.inc
»
drupal_json_decode
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
25 calls to drupal_json_decode()
BlockUiTest::testBlockSearch
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockUiTest.php
Test block search.
ContextualDynamicContextTest::testDifferentPermissions
in drupal/
core/
modules/
contextual/
lib/
Drupal/
contextual/
Tests/
ContextualDynamicContextTest.php
Tests contextual links with different permissions.
contextual_contextual_links_view_alter
in drupal/
core/
modules/
contextual/
contextual.module
Implements
hook_contextual_links_view_alter
().
DBLogTest::testWatchdog
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
DBLogTest.php
Writes a log messages and retrieves it via the REST API.
DeleteTest::testDelete
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
DeleteTest.php
Tests several valid and invalid delete requests on all entity types.
DisplayBlockTest::testBlockContextualLinks
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
Views/
DisplayBlockTest.php
Tests the contextual links on a Views block.
DisplayTest::testPageContextualLinks
in drupal/
core/
modules/
views_ui/
lib/
Drupal/
views_ui/
Tests/
DisplayTest.php
Tests contextual links on Views page displays.
EditLoadingTest::testUserWithPermission
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Tests/
EditLoadingTest.php
Tests the loading of Edit when a user does have access to it.
EmailTest::testFormEmail
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
EmailTest.php
Tests that #type 'email' fields are properly validated.
EntityReferenceAutocompleteTest::getAutocompleteResult
in drupal/
core/
modules/
entity_reference/
lib/
Drupal/
entity_reference/
Tests/
EntityReferenceAutocompleteTest.php
Returns the result of an Entity reference autocomplete request.
FormTest::testCheckboxProcessing
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Test default value handling for checkboxes.
FormTest::testDisabledElements
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Test handling of disabled elements.
FormTest::testSelect
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation of #type 'select' elements.
JavaScriptTest::testHeaderSetting
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests
drupal_get_js
() for JavaScript settings.
JsonUnitTest::testJSON
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JsonUnitTest.php
Tests converting PHP variables to JSON strings and back.
LanguageSelectElementTest::testHiddenLanguageSelectElement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
LanguageSelectElementTest.php
Tests the case when the language select elements should not be printed.
MenuTest::testBlockContextualLinks
in drupal/
core/
modules/
menu/
lib/
Drupal/
menu/
Tests/
MenuTest.php
Tests the contextual links on a menu block.
ReadTest::testRead
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
ReadTest.php
Tests several valid and invalid read requests on all entity types.
StateValuesCleanTest::testFormStateValuesClean
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
StateValuesCleanTest.php
Tests
form_state_values_clean
().
TermTest::testTermAutocompletion
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
TermTest.php
Tests term autocompletion edge cases with slashes in the names.
UrlTest::testFormUrl
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
UrlTest.php
Tests that #type 'url' fields are properly validated and trimmed.
WebTestBase::drupalGetAJAX
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Requests a Drupal path in drupal_ajax format, and JSON decodes the response.
WebTestBase::drupalGetJSON
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Retrieves a Drupal path or an absolute path and JSON decode the result.
WebTestBase::drupalPostAJAX
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Execute an Ajax submission.
WebTestBase::drupalSetContent
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Sets the raw HTML content. This can be useful when a page has been fetched outside of the internal browser and assertions need to be made on the returned page.