You are here

public function ShareEverywhereServiceInterface::build in Share Everywhere 8

Same name and namespace in other branches
  1. 2.x src/ShareEverywhereServiceInterface.php \Drupal\share_everywhere\ShareEverywhereServiceInterface::build()

Builds a renderable array of Social buttons.

Parameters

string $url: Node url.

string $id: Node entity type plus node id.

Return value

array Renderable build array.

1 method overrides ShareEverywhereServiceInterface::build()
ShareEverywhereService::build in src/ShareEverywhereService.php
Builds a renderable array of Social buttons.

File

src/ShareEverywhereServiceInterface.php, line 21

Class

ShareEverywhereServiceInterface
Interface for ShareEverywhereService.

Namespace

Drupal\share_everywhere

Code

public function build($url, $id);