public static DateFormat::sort(ConfigEntityInterface $a, ConfigEntityInterface $b)
Helper callback for uasort() to sort configuration entities by weight and label.
Overrides ConfigEntityBase::sort
File
core/lib/Drupal/Core/Datetime/Entity/DateFormat.php, line 87
Class
DateFormat Defines the Date Format configuration entity class.
Namespace
Drupal\Core\Datetime\Entity
Code
public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b) {
if ($a->isLocked() == $b->