public static function RefreshPageElementsHelper::create in Commerce Ajax Add to Cart 8
Creates instance of RefreshPageElementsHelper class.
File
- src/
RefreshPageElementsHelper.php, line 81
Class
- RefreshPageElementsHelper
- Provides methods that would help in refreshing certain page elements.
Namespace
Drupal\dc_ajax_add_cartCode
public static function create(ContainerInterface $container) {
return new static($container
->get('theme.manager'), $container
->get('entity.query'), $container
->get('plugin.manager.block'), $container
->get('renderer'));
}