public function SocialSimpleManagerInterface::addNetwork in Social simple 2.0.x
Same name and namespace in other branches
- 8 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_simpleCode
public function addNetwork(SocialNetworkInterface $network, $priority);