You are here

public function SocialSimpleManagerInterface::addNetwork in Social simple 8

Same name and namespace in other branches
  1. 2.0.x src/SocialSimpleManagerInterface.php \Drupal\social_simple\SocialSimpleManagerInterface::addNetwork()

Adds another social network builder.

Parameters

\Drupal\social_simple\SocialNetwork\SocialNetworkInterface $network: The social network builder to add.

int $priority: Priority of the social network builder.

1 method overrides SocialSimpleManagerInterface::addNetwork()
SocialSimpleManager::addNetwork in src/SocialSimpleManager.php
Adds another social network builder.

File

src/SocialSimpleManagerInterface.php, line 20

Class

SocialSimpleManagerInterface
Defines an interface a chained service that builds the breadcrumb.

Namespace

Drupal\social_simple

Code

public function addNetwork(SocialNetworkInterface $network, $priority);