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_encode
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
8 calls to drupal_json_encode()
ajax_render
in drupal/
core/
includes/
ajax.inc
Renders a commands array into JSON.
ContextualLinks::render
in drupal/
core/
modules/
contextual/
lib/
Drupal/
contextual/
Plugin/
views/
field/
ContextualLinks.php
Render the contextual fields.
drupal_pre_render_scripts
in drupal/
core/
includes/
common.inc
#pre_render callback to add the elements needed for JavaScript tags to be rendered.
EditIntegrationTest::testGetUntransformedTextCommand
in drupal/
core/
modules/
editor/
lib/
Drupal/
editor/
Tests/
EditIntegrationTest.php
Tests GetUntransformedTextCommand AJAX command.
form_test_form_state_values_clean_form_submit
in drupal/
core/
modules/
system/
tests/
modules/
form_test/
form_test.module
Form submit handler for
form_state_values_clean
() test form.
JsonUnitTest::testJSON
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JsonUnitTest.php
Tests converting PHP variables to JSON strings and back.
TermTest::testTermAutocompletion
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
TermTest.php
Tests term autocompletion edge cases with slashes in the names.
_locale_rebuild_js
in drupal/
core/
modules/
locale/
locale.module
(Re-)Creates the JavaScript translation file for a language.