public function YAMLFrontMatterImporter::addSetting in Loft Data Grids 7.2
Adds/Updates a single setting by name.
You can also use $this->getSettings()->{name} = {value}.
Parameters
string $name:
mixed $value:
Return value
$this
Overrides ImporterInterface::addSetting
File
- vendor/
aklump/ loft_data_grids/ src/ AKlump/ LoftDataGrids/ YAMLFrontMatterImporter.php, line 34
Class
- YAMLFrontMatterImporter
- Class YAMLFrontMatterImporter
Namespace
AKlump\LoftDataGridsCode
public function addSetting($key, $value) {
$this->settings[$key] = $value;
return $this;
}