CategorySettingsRepositoryWriterInterface
in
Interface CategorySettingsRepositoryWriterInterface
This interface defines methods for updating particular columns of specific category records in the database. The category settings are stored in the categories table and are more related to display and visibility modes of category related data.
Tags
Table of Contents
- update() : CategorySettingsRepositoryWriterInterface
- Updates a specific category settings entity.
Methods
update()
Updates a specific category settings entity.
public
update(IdType $categoryId, CategorySettingsInterface $settings) : CategorySettingsRepositoryWriterInterface
Parameters
- $categoryId : IdType
-
Category ID.
- $settings : CategorySettingsInterface
-
Category settings.
Return values
CategorySettingsRepositoryWriterInterface —Same instance for chained method calls.