Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MUR Drupal
d3_sankey
Commits
04f9953e
Commit
04f9953e
authored
Nov 24, 2016
by
Tom Graham
Browse files
Merge branch '7.x-1.x' of
https://git.drupal.org/project/d3_sankey
parents
a7167ed3
2157c0c2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
29 deletions
+13
-29
d3_sankey.info
d3_sankey.info
+0
-7
libraries/d3.sankey/d3.sankey.libraries.info
libraries/d3.sankey/d3.sankey.libraries.info
+0
-7
modules/d3_sankey_examples/d3_sankey_examples.info
modules/d3_sankey_examples/d3_sankey_examples.info
+0
-7
modules/d3_sankey_table_group_pp/d3_sankey_table_group_pp.info
...es/d3_sankey_table_group_pp/d3_sankey_table_group_pp.info
+0
-7
modules/d3_sankey_table_group_pp/d3_sankey_table_group_pp.module
.../d3_sankey_table_group_pp/d3_sankey_table_group_pp.module
+13
-1
No files found.
d3_sankey.info
View file @
04f9953e
...
...
@@ -6,10 +6,3 @@ package = Visualization
dependencies
[]
=
libraries
(>=
2.0
)
dependencies
[]
=
d3
dependencies
[]
=
xautoload
(>=
7.
x
-
5.0
)
;
Information
added
by
Drupal
.
org
packaging
script
on
2016
-
10
-
27
version
=
"7.x-1.x-dev"
core
=
"7.x"
project
=
"d3_sankey"
datestamp
=
"1477583498"
libraries/d3.sankey/d3.sankey.libraries.info
View file @
04f9953e
...
...
@@ -18,10 +18,3 @@ dependencies[] = d3.chart.sankey
; chart; and;
; - if we override the original d3_views plugins, we will conflict with other
; modules that need to do the same thing.
; Information added by Drupal.org packaging script on 2016-10-27
version = "7.x-1.x-dev"
core = "7.x"
project = "d3_sankey"
datestamp = "1477583498"
modules/d3_sankey_examples/d3_sankey_examples.info
View file @
04f9953e
...
...
@@ -4,10 +4,3 @@ core = 7.x
package
=
Visualization
dependencies
[]
=
d3_sankey
;
Information
added
by
Drupal
.
org
packaging
script
on
2016
-
10
-
27
version
=
"7.x-1.x-dev"
core
=
"7.x"
project
=
"d3_sankey"
datestamp
=
"1477583498"
modules/d3_sankey_table_group_pp/d3_sankey_table_group_pp.info
View file @
04f9953e
...
...
@@ -6,10 +6,3 @@ package = Visualization
dependencies
[]
=
d3_sankey
dependencies
[]
=
composer_manager
dependencies
[]
=
xautoload
(>=
7.
x
-
5.0
)
;
Information
added
by
Drupal
.
org
packaging
script
on
2016
-
10
-
27
version
=
"7.x-1.x-dev"
core
=
"7.x"
project
=
"d3_sankey"
datestamp
=
"1477583498"
modules/d3_sankey_table_group_pp/d3_sankey_table_group_pp.module
View file @
04f9953e
...
...
@@ -109,7 +109,7 @@ function d3_sankey_table_group_pp_field_formatter_settings_form($field, $instanc
$element
[
'iterations'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Iterations'
),
'#element_validate'
=>
array
(
'element_validate_integer_positive'
),
'#element_validate'
=>
array
(
'
_d3_sankey_table_group_pp_
element_validate_integer_positive
_or_zero
'
),
'#default_value'
=>
$settings
[
'iterations'
],
);
...
...
@@ -343,3 +343,15 @@ function _d3_sankey_table_group_pp_default_chart_options() {
'type'
=>
'sankey'
,
);
}
/* Form callbacks. */
/**
* Form element validation handler for integers that must be positive or zero.
*/
function
_d3_sankey_table_group_pp_element_validate_integer_positive_or_zero
(
$element
,
&
$form_state
)
{
$value
=
$element
[
'#value'
];
if
(
$value
!==
''
&&
(
!
is_numeric
(
$value
)
||
intval
(
$value
)
!=
$value
||
$value
<
0
))
{
form_error
(
$element
,
t
(
'%name must be a positive integer or zero.'
,
array
(
'%name'
=>
$element
[
'#title'
])));
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment