public function ShareEverywhereServiceInterface::build in Share Everywhere 2.x
Same name and namespace in other branches
- 8 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_everywhereCode
public function build($url, $id);