You are here

public static function AlinkPostRenderer::postRender in Alinks 8

File

src/AlinkPostRenderer.php, line 216

Class

AlinkPostRenderer
Class AlinkPostRenderer.

Namespace

Drupal\alinks

Code

public static function postRender($content, $context) {
  $selector = \Drupal::config('alinks.settings')
    ->get('xpathSelector');
  $renderer = new static($content, $context, $selector);
  return $renderer
    ->replace();
}