# WHMCS\Module\Notification\DescriptionTrait

`Trait`

Collection of behaviors common to all notification modules that help fulfill
\WHMCS\Notification\Notification\NotificationModuleInterface

## Methods

### isActive

```php
public function isActive()
```

Is this notification provider active?

**Returns** `bool`

### getName

```php
public function getName()
```

Returns bare class name of the specific notification module.

**Returns** `string`

### getDisplayName

```php
public function getDisplayName()
```

Get display name for the notification module.

**Returns** `string`

### setDisplayName

```php
public function setDisplayName($displayName)
```

Set the display name

**Parameters**

| Type | Name | Description |
|  --- | --- | --- |
| `string` | `$displayName` |  |


**Returns** `$this`

### getLogoFileName

```php
public function getLogoFileName()
```

Get the logo filename

**Returns** `string`

### setLogoFileName

```php
public function setLogoFileName($logoFileName)
```

Set the logo filename

**Parameters**

| Type | Name | Description |
|  --- | --- | --- |
| `string` | `$logoFileName` |  |


**Returns** `$this`

### getLogoPath

```php
public function getLogoPath()
```

Logo of provider.

Publicly accessible path relative to WHMCS System URL.
Expressed as "absolute" path (leading forward slash)

EX. '/modules/notifications/{$this->getName()}/{$this->getLogoFileName()}'

**Returns** `string`