/** * Handle the command. * * @param LookupTableBuilder $builder */ public function handle(LookupTableBuilder $builder) { $stream = $builder->getTableStream(); $column = $stream->getTitleColumn(); if ($column == 'id') { return; } $builder->setColumns([$column]); }
/** * Handle the command. * * @param LookupTableBuilder $builder */ public function handle(LookupTableBuilder $builder) { $stream = $builder->getTableStream(); $filter = $stream->getTitleColumn(); if ($filter == 'id') { return; } $builder->setFilters([$filter]); }