You are here

public function FontFamilyDataDefinition::getOrderBy in SCSS Compiler 1.0.x

Gets the description of how the sequence should be sorted.

Only the top level of the array should be sorted. Top-level keys should be discarded when using 'value' sorting. If the sequence is an associative array 'key' sorting is recommended, if not 'value' sorting is recommended.

Return value

string|null May be 'key' (to sort by key), 'value' (to sort by value, discarding keys), or NULL (if the schema does not describe how the sequence should be sorted).

Overrides SequenceDataDefinition::getOrderBy

File

src/Config/Schema/FontFamilyDataDefinition.php, line 39

Class

FontFamilyDataDefinition
A data definition that describes the items in a font family sequence.

Namespace

Drupal\compiler_scss\Config\Schema

Code

public function getOrderBy() {
  return 'key';
}