pattern; } /** * {@inheritdoc} */ public function setPattern($pattern) { $this->pattern = $pattern; return $this; } /** * {@inheritdoc} */ public function isLocked() { return (bool) $this->locked; } /** * {@inheritdoc} */ public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b) { if ($a->isLocked() == $b->isLocked()) { $a_label = $a->label(); $b_label = $b->label(); return strnatcasecmp($a_label, $b_label); } return $a->isLocked() ? 1 : -1; } /** * {@inheritdoc} */ public function getCacheTagsToInvalidate() { return ['rendered']; } }