Source of file Format.php
Size: 0,781 Bytes - Last Modified: 2021-12-23T10:04:57+00:00
/var/www/docs.ssmods.com/process/src/code/Contracts/Format.php
123456789101112131415161718192021222324252627282930313233343536373839 | <?php namespace Milkyway\SS\GridFieldUtils\Contracts; /** * Milkyway Multimedia * Format.php * * @package milkyway-multimedia/milkyway-multimedia/ss-gridfield-utils * @author Mellisa Hankins <mell@milkywaymultimedia.com.au> */ use GridField; interface Format { /** * Get the title of the format for a button * @return string */ public function getFormatTitle(); /** * Get unique format state (ie. slug) * @return string */ public function getFormatState(); /** * Format the @GridField * @param GridField $gridField */ public function format(GridField $gridField); /** * Unformat the @GridField * @param GridField $gridField */ public function unformat(GridField $gridField); } |