getSettings() === [ * 'fruit' => 'apple', * 'season' => 'summer', * ]; * // Change only the 'fruit' setting. * $storage_definition->setSettings(['fruit' => 'banana']); * // The 'season' setting persists unchanged. * $storage_definition->getSettings() === [ * 'fruit' => 'banana', * 'season' => 'summer', * ]; * @endcode * * For clarity, it is preferred to use setSetting() if not all available * settings are supplied. * * @param array $settings * The array of storage settings. * * @return $this */ public function setSettings(array $settings); /** * Sets whether the field is translatable. * * @param bool $translatable * Whether the field is translatable. * * @return $this */ public function setTranslatable($translatable); /** * Returns the custom storage indexes for the field data storage. * * @return array * An array of custom indexes. */ public function getIndexes(); /** * Sets the custom storage indexes for the field data storage.. * * @param array $indexes * The array of custom indexes. * * @return $this */ public function setIndexes(array $indexes); }