added support for ordering meta fields (#1940)

This commit is contained in:
Kevin Papst
2020-08-30 11:24:12 +02:00
committed by GitHub
parent e7da2b408a
commit 8e801c6829
9 changed files with 51 additions and 7 deletions

View File

@@ -163,4 +163,19 @@ interface MetaTableTypeInterface
* @return array
*/
public function getOptions(): array;
/**
* Sets the weight order.
*
* @param int $order
* @return MetaTableTypeInterface
*/
public function setOrder(int $order): MetaTableTypeInterface;
/**
* Returns the weight order.
*
* @return int
*/
public function getOrder(): int;
}