public function SendinblueManager::getListNameById in SendinBlue 8.2
Same name and namespace in other branches
- 8 src/SendinblueManager.php \Drupal\sendinblue\SendinblueManager::getListNameById()
Get list name form id.
Parameters
int $list_id: A list id.
Return value
string A list name.
File
- src/
SendinblueManager.php, line 564
Class
- SendinblueManager
- Basic manager of module.
Namespace
Drupal\sendinblueCode
public function getListNameById($list_id) {
$list = $this->sendinblueMailin
->getList($list_id);
return $list !== NULL ? $list
->getName() : NULL;
}