You are here

19 calls to Json::encode() in Zircon Profile 8

ActiveLinkResponseFilter::setLinkActiveClass in core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php
Sets the "is-active" class on relevant links.
ActiveLinkResponseFilterTest::providerTestSetLinkActiveClass in core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php
Provides test data for testSetLinkActiveClass().
BlockLibraryController::listBlocks in core/modules/block/src/Controller/BlockLibraryController.php
Shows a list of blocks that can be added to a theme's layout.
BlockListBuilder::buildBlocksForm in core/modules/block/src/BlockListBuilder.php
Builds the main "Blocks" portion of the form.
CKEditorAdminTest::testExistingFormat in core/modules/ckeditor/src/Tests/CKEditorAdminTest.php
Tests configuring a text editor for an existing text format.
CKEditorToolbarButtonTest::testImageButtonDisplay in core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php
Method tests CKEditor image buttons.
ContextualLinks::render in core/modules/contextual/src/Plugin/views/field/ContextualLinks.php
Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::render().
FormTestFormStateValuesCleanForm::submitForm in core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
Form submission handler.
FunctionsTest::testLinks in core/modules/system/src/Tests/Theme/FunctionsTest.php
Tests links.html.twig.
JsCollectionRenderer::render in core/lib/Drupal/Core/Asset/JsCollectionRenderer.php
This class evaluates the aggregation enabled/disabled condition on a group by group basis by testing whether an aggregate file has been made for the group rather than by testing the site-wide aggregation setting. This allows this class to work…
JsonTest::testEncodingLength in core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
Tests encoding length.
JsonTest::testEncodingStartEnd in core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
Tests end and start of the encoded string.
JsonTest::testReversibility in core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
Tests converting PHP variables to JSON strings and back.
JsonTest::testStructuredReversibility in core/tests/Drupal/Tests/Component/Serialization/JsonTest.php
Test the reversibility of structured data
LinkGenerator::generate in core/lib/Drupal/Core/Utility/LinkGenerator.php
For anonymous users, the "active" class will be calculated on the server, because most sites serve each anonymous user the same cached page anyway. For authenticated users, the "active" class will be calculated on the client…
QuickEditIntegrationTest::testGetUntransformedTextCommand in core/modules/editor/src/Tests/QuickEditIntegrationTest.php
Tests GetUntransformedTextCommand AJAX command.
ReadTest::testRead in core/modules/rest/src/Tests/ReadTest.php
Tests several valid and invalid read requests on all entity types.
template_preprocess_links in core/includes/theme.inc
Prepares variables for links templates.
_locale_rebuild_js in core/modules/locale/locale.module
(Re-)Creates the JavaScript translation file for a language.