Log in
Model

AbstractStorage

Magento\UrlRewrite\Model\Storage\AbstractStorage

What it does

This abstract base class provides the foundation for URL rewrite storage implementations in Magento 2.

Developers extend this class to create custom storage mechanisms for URL rewrites, implementing the abstract methods to handle finding and replacing URL rewrite records.

It standardizes how URL rewrite data is retrieved and persisted across different storage backends.

Public Methods

  • findAllByData()
  • findOneByData()
  • replace()