function Json::decode
Overrides SerializationInterface::decode
14 calls to Json::decode()
- AllowedScaffoldPackagesValidator::validate in core/
modules/ package_manager/ src/ Validator/ AllowedScaffoldPackagesValidator.php - Validates that only the implicitly allowed packages can use scaffolding.
- AnnounceFetcher::fetch in core/
modules/ announcements_feed/ src/ AnnounceFetcher.php - Fetches the feed either from a local cache or fresh remotely.
- CKEditor5::validateConfigurationForm in core/
modules/ ckeditor5/ src/ Plugin/ Editor/ CKEditor5.php - Form validation handler.
- ComposerPatchesValidator::computePatcherStatus in core/
modules/ package_manager/ src/ Validator/ ComposerPatchesValidator.php - Computes the status of the patcher plugin in a particular directory.
- ContextualHooks::contextualLinksViewAlter in core/
modules/ contextual/ src/ Hook/ ContextualHooks.php - Implements hook_contextual_links_view_alter().
File
-
core/
lib/ Drupal/ Component/ Serialization/ Json.php, line 25
Class
- Json
- Default serialization for JSON.
Namespace
Drupal\Component\SerializationCode
public static function decode($string) {
return json_decode($string, TRUE);
}