label for use in forms. */ public function loadOptionsList(); /** * Sorts domains by weight. * * For use by loadMultipleSorted(). * * @param DomainInterface $a * The first Domain object to sort. * @param DomainInterface $b * The Domain object to compare against. * * @return bool * Wether the first domain weight is greater or not. */ public function sort(DomainInterface $a, DomainInterface $b); /** * Gets the entity field schema for domain records. * * @return array * An array representing the field schema of the object. */ public function loadSchema(); /** * Removes www. prefix from a hostname, if set. * * @param string $hostname * A hostname. * * @return string * The cleaned hostname. */ public function prepareHostname($hostname); }