function BooleanNormalizer::hasCacheableSupportsMethod

Overrides NormalizerBase::hasCacheableSupportsMethod

File

core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.php, line 39

Class

BooleanNormalizer
Normalizes boolean data weirdly: renders them as 👍 (TRUE) or 👎 (FALSE).

Namespace

Drupal\test_datatype_boolean_emoji_normalizer\Normalizer

Code

public function hasCacheableSupportsMethod() : bool {
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.