You are here

protected function FilterInlineSms::renderer in SMS Framework 8

Same name and namespace in other branches
  1. 2.x modules/sms_sendtophone/src/Plugin/Filter/FilterInlineSms.php \Drupal\sms_sendtophone\Plugin\Filter\FilterInlineSms::renderer()
  2. 2.1.x modules/sms_sendtophone/src/Plugin/Filter/FilterInlineSms.php \Drupal\sms_sendtophone\Plugin\Filter\FilterInlineSms::renderer()

Encapsulates the renderer service for unit testing purposes.

Return value

\Drupal\Core\Render\RendererInterface Returns the renderer service.

File

modules/sms_sendtophone/src/Plugin/Filter/FilterInlineSms.php, line 147

Class

FilterInlineSms
Provides a filter to align elements.

Namespace

Drupal\sms_sendtophone\Plugin\Filter

Code

protected function renderer() {
  return \Drupal::service('renderer');
}